0.0.2 • Published 6 years ago

@uw-it-edm/edm-repos-cli v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

edm-repos

oclif Version Downloads/week License

Usage

$ npm install -g @uw-it-edm/edm-repos-cli
$ edm-repos COMMAND
running command...
$ edm-repos (-v|--version|version)
@uw-it-edm/edm-repos-cli/0.0.1 darwin-x64 node-v8.11.3
$ edm-repos --help [COMMAND]
USAGE
  $ edm-repos COMMAND
...

Commands

edm-repos add-branch-protection REPO

Add branch protection on develop and master

USAGE
  $ edm-repos 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

edm-repos enforce-admin-protection REPO

Disable/Enable Include administrators on develop and master branch protection

USAGE
  $ edm-repos 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

edm-repos help [COMMAND]

display help for edm-repos

USAGE
  $ edm-repos help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help