Skip to content

Quramy/gh-app-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-app-token

Get and display API token for GitHub Apps.

Usage

CLI

npx gh-app-token --appId <your_app_id> --installationId <installation_id> --pem <path_to_pem_file>

or

npm -g install gh-app-token
gh-app-token --appId <your_app_id> --installationId <installation_id> --pem <path_to_pem_file>

API

const { auth } = require("gh-app-token");

auth(appId, installationId, pemFilePath).then(token => {
  // use token
});

License

MIT. See LICENSE under this repository.

About

Get and display GitHub app token

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published