Go to file
2016-07-27 15:41:39 -04:00
cmd Create and index gogs repos from da CLI. 2016-07-27 13:38:10 -04:00
go-gogs-client Use go-gogs-client. Duh. :neckbeard: 2016-07-27 15:41:39 -04:00
.gogs-cli.yaml Add cfg example. 2016-07-27 13:46:56 -04:00
gogs Create and index gogs repos from da CLI. 2016-07-27 13:38:10 -04:00
LICENSE Create and index gogs repos from da CLI. 2016-07-27 13:38:10 -04:00
main.go Create and index gogs repos from da CLI. 2016-07-27 13:38:10 -04:00
README.md add links 2016-07-27 14:01:19 -04:00

Gogs CLI

Accesses the Gogs Client API, currently available on Gogs' develop branch.

Cobra & Viper go packages handle the hard work for the CLI interface.

Very much still a work in progress. That's in bold.

Setup

Clone the repo and build it yourself, or go get github.com/irstacks/gogs-cli.

Make sure the gogs executable is available somewhere in your $PATH.

This repo's build is for darwin. You can build for linux with the nifty env GOOS=linux go build -o gogs.

Usage

So far...

$ gogs repo # index all your repos
$ gogs repo -n my-new-repo
$ gogs repo -o anorganizationiown -n my-new-repo

Help out

Pull request at will.