From bd07ee8022cda83c52fb35b3a2720e180926cf03 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 1 Feb 2020 00:38:44 +0100 Subject: [PATCH] Update README --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 95182d2..d32ed4c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,38 @@ # ghup Simple Github helper for myself. + +## Installation + +If you don't have haskell GHC and cabal installed, +follow [ghcup](https://www.haskell.org/ghcup/) first. + +Then issue: + +```sh +$ cabal v2-install ghup +``` + +## Usage + +First you need to set the github OAuth (no other method currently supported) +for API access: + +``` +ghup config --oauth "" +``` + +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 +```