Skip to content

๐Ÿ™ A CLI for bootstrapping GitHub repositories

Notifications You must be signed in to change notification settings

emilymdubois/gh-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

gh-bootstrap

Utility scripts to bootstrap GitHub repositories the way you like them.

Install

$ git clone [email protected]:emilymdubois/gh-bootstrap.git
$ cd gh-bootstrap
$ npm link

Set up configuration file

$ gh-bootstrap make-config

This will create a config.json file in the root directory of your local gh-bootstrap clone.

Configure labels in repository of interest

$ 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:

  1. Setting the process.env.GitHubAccessToken environment variable, or by
  2. Waving a -t or -token flag.

Test

$ npm test

About

๐Ÿ™ A CLI for bootstrapping GitHub repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published