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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址