github.com/cli/cli/cmd/gh is new official command for GitHub.
How to install gh command
| |
How to use gh issue?
gh issue have subcommands create, list, status, view.
If you want to create new issue, that’s below.
| |
Then you ask to authorize gh command to access your github account.
After you have authorize, input title and body for issue and choose to (Check in browser|Submit|Cancel).
| |
Done to create new issue.
How to use gh pr?
gh pr have subcommands checkout, create, list, status, view.
If you want to create new pull-request, that’s below.
| |
Done to create new pull-request.