A CLI tool to generate OAuth tokens for the chosen provider.
Download the tool using go get
.
go get -u -v github.com/nkprince007/generate-oauth-token
$ generate-oauth-token -help
Usage of generate-oauth-token:
-provider string
the provider for which oauth token is to be generated (default "github")
$ generate-oauth-token -provider=github
...
# Enter the details and proceed to obtain the token
Supported providers include:
- github
- gitlab