https://github.com/keisukeyamashita/github-app-token-generator-cli
CLI to generate GitHub App Token
https://github.com/keisukeyamashita/github-app-token-generator-cli
Last synced: 3 months ago
JSON representation
CLI to generate GitHub App Token
- Host: GitHub
- URL: https://github.com/keisukeyamashita/github-app-token-generator-cli
- Owner: KeisukeYamashita
- License: apache-2.0
- Created: 2022-02-03T15:29:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T01:58:15.000Z (over 2 years ago)
- Last Synced: 2025-06-30T23:05:11.072Z (3 months ago)
- Language: Go
- Homepage:
- Size: 4.83 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# GitHub App Token Generator CLI
## Install
```console
$ go get -u github.com/KeisukeYamashita/github-app-token-generator-cli
```## Usage
```console
$ github-app-token-generator-cli --help
CLI to generate tokens for GitHub AppUsage:
github-app-token-generator-cli [flags]
github-app-token-generator-cli [command]Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
versionFlags:
-h, --help help for github-app-token-generator-cli
--log-format string format of the logs (default "console")
--log-level string output of the logs (default "info")
--request-timeout string timeout for each request (default "30s")
-r, --retry int retry count (default 5)
-t, --timeout string overall timeout (default "1s")
--url url of the GitHub APIUse "github-app-token-generator-cli [command] --help" for more information about a command.
```## GitHub Enterprise
For users using GitHub enterprise, you can specify the GitHub API's URL with `--url` flag as below:
```console
$ github-app-token-generator-cli xxx yyy private-key.pem --url https:///api/v3
```