·sorcha-cli
</>

sorcha-cli

使用 System.CommandLine 2.0.2、Refit HTTP 客户端和 Spectre.Console 构建和维护 Sorcha CLI 工具。 使用场合:创建 CLI 命令、添加选项/参数、实施 Refit 服务客户端、编写 CLI 测试或修复命令结构问题。

22安装·0热度·@stuartf303

安装

$npx skills add https://github.com/stuartf303/sorcha --skill sorcha-cli

如何安装 sorcha-cli

通过命令行快速安装 sorcha-cli AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/stuartf303/sorcha --skill sorcha-cli
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:stuartf303/sorcha。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-02-20
更新时间
2026-03-10

Browse more skills from stuartf303/sorcha

快速解答

什么是 sorcha-cli?

使用 System.CommandLine 2.0.2、Refit HTTP 客户端和 Spectre.Console 构建和维护 Sorcha CLI 工具。 使用场合:创建 CLI 命令、添加选项/参数、实施 Refit 服务客户端、编写 CLI 测试或修复命令结构问题。 来源:stuartf303/sorcha。

如何安装 sorcha-cli?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stuartf303/sorcha --skill sorcha-cli 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/stuartf303/sorcha

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-20