MENU
    GitHub
    • 05 Oct 2024
    • 1 Minute to read
    • Dark

    GitHub

    • Dark

    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" }}'
    YAML

    Credentials

    To utilize the GitHub CLI, you will need:

    access_token
    Plain text


    Was this article helpful?

    What's Next