gh-token

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 9 Imported by: 0

README

GitHub Token

GitHub CLI extension to create and revoke installation tokens.

Installation

$ gh extensions install carlsberg/gh-token

Usage

$ gh token --help
Create and revoke GitHub Installation tokens

Usage:
  gh-token [command]

Examples:
# create a token with an installation ID
$ gh token create --app-id 123 app-private-key-path path/to/pem --installation-id 123

# create a token without installation ID
$ gh token create --app-id 123 app-private-key-path path/to/pem --org org-name

# revoke a token
$ gh token revoke --token ghs_123


Available Commands:
  completion  generate the autocompletion script for the specified shell
  create      
  help        Help about any command
  revoke      

Flags:
  -h, --help   help for gh-token

Use "gh-token [command] --help" for more information about a command.

Contributing

Please, see the Contributing Guide to learn how you can contribute to this repository. Every contribution is welcome!

License

This project is released under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL