Usage
=====
From within a working directory with a remote that is hosted on
GitHub (remote named either ``origin`` or ``github`` for git repositories or
``default`` or ``github`` for mercurial/`hg-git `_ repositories), you can do this (note: with
the -r option, commands can be invoked from anywhere):
::
(github-cli)[jsmits@imac:~]$ ghi --help
Usage: ghi command [args] [options]
Examples:
ghi list [-s open|closed|all] show open, closed or all issues
(default: open)
ghi [-s o|c|a] -v same as above, but with issue details
ghi same as: ghi list
ghi -v same as: ghi list -v
ghi [-s o|c] -w show issues' GitHub page in web browser
(default: open)
ghi list -u show issues created by specified user
ghi show show issue
ghi show -v same as above, but with comments
ghi same as: ghi show
ghi -w show issue 's GitHub page in web
browser
ghi open (o) create a new issue (with $EDITOR)
ghi open (o) -m create a new issue with content
(optionally, use \n for new lines; first
line will be the issue title)
ghi close (c) close issue
ghi open (o) reopen issue
ghi edit (e) edit issue (with $EDITOR)
ghi label add (al)