Skip to content

Commit

Permalink
new cli pkg
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jul 17, 2018
1 parent 2bcc6fe commit 81cbe84
Show file tree
Hide file tree
Showing 1,492 changed files with 588 additions and 358,788 deletions.
51 changes: 30 additions & 21 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 18 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,38 +45,24 @@ $ docker run --restart always -d \

```console
$ gitable -h
_ _ _ _
__ _(_) |_ __ _| |__ | | ___
/ _` | | __/ _` | '_ \| |/ _ \
| (_| | | || (_| | |_) | | __/
\__, |_|\__\__,_|_.__/|_|\___|
|___/

Bot to automatically sync and update an airtable sheet with
GitHub pull request and issue data.
Version: v0.1.2
Build: 56b7db7

-airtable-apikey string
Airtable API Key (or env var AIRTABLE_APIKEY)
-airtable-baseid string
Airtable Base ID (or env var AIRTABLE_BASEID)
-airtable-table string
Airtable Table (or env var AIRTABLE_TABLE)
-autofill
autofill all pull requests and issues for a user [or orgs] to a table (defaults to current user unless --orgs is set)
-d run in debug mode
-github-token string
GitHub API token (or env var GITHUB_TOKEN)
-interval duration
update interval (ex. 5ms, 10s, 1m, 3h) (default 1m0s)
-once
run once and exit, do not run as a daemon
-orgs value
organizations to include (this option only applies to --autofill)
-v print version and exit (shorthand)
-version
print version and exit
gitable - Bot to automatically sync and update an airtable sheet with GitHub pull request and issue data.

Usage: gitable <command>

Flags:

--airtable-apikey Airtable API Key (or env var AIRTABLE_APIKEY) (default: <none>)
--airtable-baseid Airtable Base ID (or env var AIRTABLE_BASEID) (default: <none>)
--airtable-table Airtable Table (or env var AIRTABLE_TABLE) (default: <none>)
--autofill autofill all pull requests and issues for a user [or orgs] to a table (defaults to current user unless --orgs is set) (default: false)
-d, --debug enable debug logging (default: false)
--github-token GitHub API token (or env var GITHUB_TOKEN)
--interval update interval (ex. 5ms, 10s, 1m, 3h) (default: 1m0s)
--once run once and exit, do not run as a daemon (default: false)

Commands:

version Show the version information.
```

## Airtable Setup
Expand Down
Loading

0 comments on commit 81cbe84

Please sign in to comment.