Skip to content

Command-line utility for working with GitHub repositories

License

Notifications You must be signed in to change notification settings

pandoraboxchain/github-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge Known Vulnerabilities

github-utils

Command-line utility for working with GitHub repositories

Install

npm i --save github-utils@https://github.com/pandoraboxchain/github-utils.git#v0.1.4

you can use -g flag to install this module globally

Getting utility version

ghu --version
0.1.4

Getting help

ghu --help
ghu help <command>

for example:

ghu help issue

   ghu 0.1.4 - Command-line utility for working with GitHub repositories

   USAGE

     ghu issue

   OPTIONS

     -d, --debug                               Enable debug mode                                         optional
     -k, --api-token, --api-key <api-key>      GihHub API key                                            required
     -o, --owner <owner>                       GitHub repository owner                                   required
     -r, --repositories <repositories>         Targeted GitHub repositories (can be coma separated)      required
     -t, --title <title>                       Issue title                                               required
     -b, --body <body>                         Issue body                                                required

   GLOBAL OPTIONS

     -h, --help         Display help
     -V, --version      Display version
     --no-color         Disable colors
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages

Publishing an issue

npx ghu issue -k <access_token> -o <repos_owner> -r <repo_1[,repo_2]> -t "Issue title" -b "Issue body"

or in case of utility has been installed as global module:

ghu issue -k <access_token> -o <repos_owner> -r <repo_1[,repo_2]> -t "Issue title" -b "Issue body"

About

Command-line utility for working with GitHub repositories

Resources

License

Stars

Watchers

Forks

Packages

No packages published