TommyFang2077/git-clis-dsh0

@tommyfang/git-clis-dsh

DeepSeek Harness (dsh) plugin for GitHub (gh) and Gitea (tea) CLIs: detect/install, guided token config, and issue operations.

AI Analysis

核心用于简化 Git 命令行工具的配置与使用。适合需要在 DSH 中通过引导快速配置 GitHub/Gitea 凭证并管理 Issue 的用户。

Package
@tommyfang/git-clis-dsh
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TommyFang2077/git-clis-dsh

配置引导流程

  1. gitclis_configure method=auto → 获取当前状态和「下一步选项菜单」
  2. ask_user_question 把菜单呈现为选项,一次一步
  3. 按所选分支执行:
    • 缺 CLI → gitclis_install cli=gh|tea|both
    • 环境 token → gitclis_configure method=env
    • 浏览器 OAuth(GitHub)→ gitclis_configure method=web 拿设备码 → 用户授权 → method=poll 验证
    • 手动 → gitclis_set_token
  4. gitclis_status 验证