You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Ospald 2ed99f5493
Prettify
2 weeks ago
app Add listing gists 2 weeks ago
lib Prettify 2 weeks ago
.gitignore Add .gitiginore 2 weeks ago
CHANGELOG.md Initial commit 3 weeks ago
LICENSE Initial commit 3 weeks ago
README.md Update README 2 weeks ago
Setup.hs Initial commit 3 weeks ago
cabal.project Freeze cabal and index state 2 weeks ago
cabal.project.freeze Update freeze file 2 weeks ago
ghup.cabal Prettify 2 weeks ago
update-index-state.sh Freeze cabal and index state 2 weeks ago

README.md

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