pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
893 stars 315 forks source link

Add GitHub CLI to Codespace #2725

Open garrytrinder opened 2 years ago

garrytrinder commented 2 years ago

We should include the GitHub CLI in the build of our Codespace so that we can execute commands against GitHub to make it easier for us checkout pull requests for review (gh pr checkout), create pull requests (gh pr create) and manage the issues list (gh issue list) amongst other operations.

garrytrinder commented 1 year ago

We can add the GitHub CLI to the codespace by adding a feature in the devcontainer file.

"features": {
  "ghcr.io/devcontainers/features/github-cli:1": {}
}

Source: https://github.com/cli/cli#codespaces