- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
The GitHub CLI is a tool that brings GitHub to the terminal, allowing you to interact with and control Git accounts, repositories, organizations, and users from the CLI. With this component of the Cloud CLI Extension, you can interact with GitHub directly from LimaCharlie.
This extension makes use of the GitHub CLI, which can be found here.
Example
The following example returns a list of GitHub organizations.
- action: extension request
extension action: run
extension name: ext-cloud-cli
extension request:
cloud: '{{ "gh" }}'
command_line: '{{ "org list" }}'
credentials: '{{ "hive://secret/secret-name" }}'
Credentials
To utilize the GitHub CLI, you will need:
Create a secret in the secrets manager in the following format:
access_token
Was this article helpful?