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
4 vuotta sitten
app Add listing gists 4 vuotta sitten
lib Prettify 4 vuotta sitten
.gitignore Add .gitiginore 4 vuotta sitten
CHANGELOG.md Initial commit 4 vuotta sitten
LICENSE Initial commit 4 vuotta sitten
README.md Update README 4 vuotta sitten
Setup.hs Initial commit 4 vuotta sitten
cabal.project Freeze cabal and index state 4 vuotta sitten
cabal.project.freeze Update freeze file 4 vuotta sitten
ghup.cabal Prettify 4 vuotta sitten
update-index-state.sh Freeze cabal and index state 4 vuotta sitten

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