|
1 year ago | |
---|---|---|
app | 1 year ago | |
lib | 1 year ago | |
.gitignore | 1 year ago | |
CHANGELOG.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
Setup.hs | 1 year ago | |
cabal.project | 1 year ago | |
cabal.project.freeze | 1 year ago | |
ghup.cabal | 1 year ago | |
update-index-state.sh | 1 year ago |
Simple Github helper for myself.
If you don’t have haskell GHC and cabal installed, follow ghcup first.
Then issue:
$ cabal v2-install ghup
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