Pular para o conteúdo
Kitbay
Enviar
Skill

github-multi-account

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHub

A skill template from the Squad agent tooling bundled in the gh-aw repository, for people with more than one GitHub account, such as a personal one and an Enterprise Managed Users work account.

O que a skill ensina

A skill template from the Squad agent tooling bundled in the gh-aw repository, for people with more than one GitHub account, such as a personal one and an Enterprise Managed Users work account. The agent checks gh auth status, asks which account is which, then writes PowerShell functions, aliases and CMD wrappers that switch the gh CLI to the right account before each command, and from then on uses those aliases instead of plain gh. This copy hard-codes one maintainer's account names for its own repository and is PowerShell-only. Its header names tamirdresher/squad-skills as the source.

O que faz

  • Detect several GitHub CLI accounts
  • Set up per-account gh aliases in PowerShell