gogit

command module
v0.0.0-...-68b41f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

Gogit

License Godoc

Golang-based CLI wrapper for github.com

Usage

Beforehand

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.

Commands
  • 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

Installation

From a release

Download the corresponding archive from the release page, extract its content, and place the gogit executable in your $PATH variable.

From source

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

Why ?

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.

License

Apache License

Copyright (c) 2017 Theo Massard

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL