dsh-github-auth: Manage Local GitHub CLI Authorization in DSH
The oliblue-evan DSH plugin, dsh-github-auth (package name: dsh-liao-github), manages the local GitHub CLI for github.com via dedicated plugin and settings pages. It offers one-click preparation of `gh`, web-based login, account and scope inspection, switching, and local logout, along with read-only checks for SSH and repository API write permissions. The plugin prioritizes reusing an existing `gh` installation and does not store full tokens. The installation command is `dsh plugin --profile desktop add github:oliblue-evan/dsh-liao-github`, requiring Node 18+. This solution is suitable for admin-security scenarios; please review the source code and MIT license prior to installation. Note that if `GH_TOKEN` takes precedence, local account changes will be disabled.
Read More