Go to file
2020-02-02 15:42:03 +01:00
app Add listing gists 2020-02-02 15:34:20 +01:00
lib Prettify 2020-02-02 15:42:03 +01:00
.gitignore Add .gitiginore 2020-01-30 23:13:11 +01:00
cabal.project Freeze cabal and index state 2020-01-31 23:19:39 +01:00
cabal.project.freeze Update freeze file 2020-02-01 00:39:04 +01:00
CHANGELOG.md Initial commit 2020-01-30 19:40:08 +01:00
ghup.cabal Prettify 2020-02-02 15:42:03 +01:00
LICENSE Initial commit 2020-01-30 19:40:08 +01:00
README.md Update README 2020-02-02 15:39:30 +01:00
Setup.hs Initial commit 2020-01-30 19:40:08 +01:00
update-index-state.sh Freeze cabal and index state 2020-01-31 23:19:39 +01:00

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