什麼是 sorcha-cli?
使用 System.CommandLine 2.0.2、Refit HTTP 用戶端和 Spectre.Console 建置和維護 Sorcha CLI 工具。 使用場合:建立 CLI 指令、新增選項/參數、實作 Refit 服務用戶端、編寫 CLI 測試或修復指令結構問題。 來源:stuartf303/sorcha。
使用 System.CommandLine 2.0.2、Refit HTTP 用戶端和 Spectre.Console 建置和維護 Sorcha CLI 工具。 使用場合:建立 CLI 指令、新增選項/參數、實作 Refit 服務用戶端、編寫 CLI 測試或修復指令結構問題。
透過命令列快速安裝 sorcha-cli AI 技能到你的開發環境
來源:stuartf303/sorcha。
The Sorcha CLI (sorcha) is a .NET 10 global tool for managing the Sorcha distributed ledger platform. It uses System.CommandLine 2.0.2 for command parsing, Refit for HTTP API clients, and Spectre.Console for rich terminal output.
| Option constructor | new Option ("--id", "Description") | new Option ("--id", "-i") | | Add short alias | option.Aliases.Add("-i") | Second constructor param | | Option name property | Returns "--id" (with dashes) | Does NOT return "id" | | Get option value | parseResult.GetValue(option) | parseResult.GetValueForOption() |
| Set action | this.SetAction(async (pr, ct) => {...}) | Override Execute | | Test find option | o.Name == "--id" | o.Aliases.Contains("--id") |
使用 System.CommandLine 2.0.2、Refit HTTP 用戶端和 Spectre.Console 建置和維護 Sorcha CLI 工具。 使用場合:建立 CLI 指令、新增選項/參數、實作 Refit 服務用戶端、編寫 CLI 測試或修復指令結構問題。 來源:stuartf303/sorcha。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/stuartf303/sorcha --skill sorcha-cli使用 System.CommandLine 2.0.2、Refit HTTP 用戶端和 Spectre.Console 建置和維護 Sorcha CLI 工具。 使用場合:建立 CLI 指令、新增選項/參數、實作 Refit 服務用戶端、編寫 CLI 測試或修復指令結構問題。 來源:stuartf303/sorcha。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/stuartf303/sorcha --skill sorcha-cli 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/stuartf303/sorcha