GitHub
  • 11 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

GitHub

  • Dark
    Light

Article summary

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:

access_token

Was this article helpful?

What's Next