Creates a github repo via CLI
-
generate an API Token for Github.com
-
export GITHUB_TOKEN="YOURGITHUBTOKEN" -
Build the binary:
go build . -o github-create-repository -
Run the binary:
github-create-repository -name=$NewRepoName
| Name | Name | Last commit date | |
|---|---|---|---|
Creates a github repo via CLI
generate an API Token for Github.com
export GITHUB_TOKEN="YOURGITHUBTOKEN"
Build the binary: go build . -o github-create-repository
Run the binary: github-create-repository -name=$NewRepoName