Zum Inhalt springen
Kitbay
Einreichen
Skill

github-multi-account

MITAktualisiert am 11. Nov. 20265.616GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

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