$ npm install -g @uw-it-edm/edm-repos-cli
$ edm-repos-cli COMMAND
running command...
$ edm-repos-cli (-v|--version|version)
@uw-it-edm/edm-repos-cli/0.0.2 darwin-x64 node-v8.11.3
$ edm-repos-cli --help [COMMAND]
USAGE
$ edm-repos-cli COMMAND
...
edm-repos-cli add-branch-protection REPO
edm-repos-cli enforce-admin-protection REPO
edm-repos-cli help [COMMAND]
Add branch protection on develop and master
USAGE
$ edm-repos-cli add-branch-protection REPO
OPTIONS
-h, --help show CLI help
-o, --owner=owner (required) [default: uw-it-edm]
-t, --ghToken=ghToken Github Token for authentication
--disableTravisCheck disable Travis check requirement
EXAMPLE
$ edm-repos add-branch-protection test-repo
initializing github client
What is your GitHub token?: *****
Working with repo uw-it-edm/test-repo
getting repo uw-it-edm/test-repo
found repo uw-it-edm/test-repo -- public
Added develop branch protection. Response status 200
Added master branch protection. Response status 200
See code: src/commands/add-branch-protection.ts
Disable/Enable Include administrators
on develop and master branch protection
USAGE
$ edm-repos-cli enforce-admin-protection REPO
OPTIONS
-d, --disableProtection
-e, --enableProtection
-h, --help show CLI help
-o, --owner=owner (required) [default: uw-it-edm]
-t, --ghToken=ghToken Github Token for authentication
EXAMPLE
$ enforce-admin-protection test-repo --enableProtection
initializing github client
What is your GitHub token?: ****************************************
Working with repo uw-it-edm/test-repo
getting repo uw-it-edm/test-repo
found repo uw-it-edm/test-repo -- public
enabled admin protection for develop
enabled admin protection for master
See code: src/commands/enforce-admin-protection.ts
display help for edm-repos-cli
USAGE
$ edm-repos-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help