Create new Github repositories from the command line
$ go get -u github.com/waymobetta/newrepo
- generate personal access token with repo scoped access here
- set value for this token with
GITHUB_TOKEN
as the env var name - run CLI help screen with
newrepo -h
Note: description flag can be left blank, but name and private flags are required
$ newrepo --name=testrepo --private=true
Basically, I just leveraged the code from the go-github example directory here, kept the same program name and customized it to make it a little easier to work with and slightly more extensible
MIT