CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts.
技能名称:CLI 构建器
详细描述:
从零搭建专业级 CLI 工具,覆盖全生命周期
bash
bash scripts/cli-builder.sh init myapp python
bash scripts/cli-builder.sh command myapp serve 启动开发服务器
bash scripts/cli-builder.sh args python --name,--port,--verbose
| 命令 | 用途 | 参数 |
|------|------|------|
| init | 项目骨架 | <名称> <语言> |
| command | 添加命令 | <应用> <命令> <描述> |
| args | 参数解析代码 | <语言> <参数> |
| help | 帮助文档生成 | <应用> <命令> |
| config | 配置文件处理 | <语言> <格式> |
| publish | 发布清单 | <平台> |
| interactive | 交互式提示 | <语言> <提示> |
| color | 彩色输出代码 | <语言> |
所有生成的代码均包含注释和最佳实践,可直接复制使用。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 cli-builder-1776068062 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 cli-builder-1776068062 技能
skillhub install cli-builder-1776068062
文件大小: 7.99 KB | 发布时间: 2026-4-15 12:11