Skip to content

waymobetta/newrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newrepo

Create new Github repositories from the command line

steps

$ go get -u github.com/waymobetta/newrepo
  1. generate personal access token with repo scoped access here
  2. set value for this token with GITHUB_TOKEN as the env var name
  3. run CLI help screen with newrepo -h

Note: description flag can be left blank, but name and private flags are required

usage

$ newrepo --name=testrepo --private=true

credits

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

About

CLI to programmatically create a new GitHub repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages