Golang-based CLI wrapper for github.com
Before anything else, export your freshly created
personnal access token, as GITHUB_TOKEN
You can do so by including the export GITHUB_TOKEN=xxxx...
in your ~/.bashrc
or ~/.profile
.
- Create a repository
$ gogit repo create -n repository_name [-p] # -p makes the repository private
- List a user's repositories
$ gogit repo list -u username
- Display help
$ gogit --help # Or simply 'gogit', which defaults to displaying the help
Download the corresponding archive from the release page,
extract its content, and place the gogit
executable in your $PATH
variable.
Clone the master branch, and run make install
.
This will run the go install
command, placing the gogit
executable in your $GOPATH
dep is used to manage packages.
$ git clone https://github.com/tbobm/gogit
$ cd gogit
$ make install
I'm tired of having to use my browser to create repositories, have informations about my issues, pull requests, etc.
I just want to have a CLI tool that'll allow me to avoid going to github.com everytime.
Plus I like my terminal font more than my browser's, in addition to that.
Copyright (c) 2017 Theo Massard