app | ||
lib | ||
.gitignore | ||
cabal.project | ||
cabal.project.freeze | ||
CHANGELOG.md | ||
ghup.cabal | ||
LICENSE | ||
README.md | ||
Setup.hs | ||
update-index-state.sh |
ghup
Simple Github helper for myself.
Installation
If you don't have haskell GHC and cabal installed, follow ghcup first.
Then issue:
$ cabal v2-install ghup
Usage
First you need to set the github OAuth (no other method currently supported) for API access:
ghup config --oauth "<your-github-token>"
Then follow the help page:
Usage: ghup COMMAND
Available options:
-h,--help Show this help text
Available commands:
fork Fork a repository
config Set ghup config (such as OAuth)
delete Delete a forked repository
list-forks List my forks
gistc Create gist
gistl List gists