Utility scripts to bootstrap GitHub repositories the way you like them.
$ git clone [email protected]:emilymdubois/gh-bootstrap.git
$ cd gh-bootstrap
$ npm link
$ gh-bootstrap make-config
This will create a config.json
file in the root directory of your local gh-bootstrap clone.
$ gh-bootstrap set-labels -o <owner> -r <repo>
$ gh-bootstrap set-labels -o <owner> -r <repo> -t <access_token>
This will delete any labels currently in the repository, and create labels from the configuration file in the root directory. You will need to provide a GitHub access token with repo permissions. You can do this by:
- Setting the
process.env.GitHubAccessToken
environment variable, or by - Waving a
-t
or-token
flag.
$ npm test