Skip to content

uw-it-edm/edm-repos-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edm-repos

oclif Version Downloads/week License

Usage

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

Commands

edm-repos-cli add-branch-protection REPO

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

edm-repos-cli enforce-admin-protection REPO

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

edm-repos-cli help [COMMAND]

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages