mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-15 23:31:10 +00:00
fix(install): 修复帮助文本中的循环引用
将 --from 描述改为 'Alias for --add',避免与 -a, --add 的 描述互相引用导致循环感
This commit is contained in:
parent
3239b4d5b8
commit
58ee1a5220
1 changed files with 4 additions and 4 deletions
|
|
@ -210,8 +210,8 @@ function buildInstallHelp(cmd: Command): string {
|
|||
lines.push("");
|
||||
|
||||
lines.push(chalk.bold("Source Options:"));
|
||||
lines.push(` ${chalk.cyan("-a, --add <source>")} Install from GitHub or local path (alias for --from)`);
|
||||
lines.push(` ${chalk.cyan("--from <source>")} Install from GitHub or local path (alias for -a)`);
|
||||
lines.push(` ${chalk.cyan("-a, --add <source>")} Install from GitHub or local path`);
|
||||
lines.push(` ${chalk.cyan("--from <source>")} Alias for --add`);
|
||||
lines.push("");
|
||||
|
||||
lines.push(chalk.bold("Target Options:"));
|
||||
|
|
@ -250,8 +250,8 @@ export function registerInstall(program: Command) {
|
|||
.alias("i")
|
||||
.description("Install skills from registry, git repositories, or local paths")
|
||||
.argument("<skill>", "Skill name or namespace/skill-name from registry")
|
||||
.option("-a, --add <source>", "Install from GitHub or local path (alias for --from)")
|
||||
.option("--from <source>", "Install from GitHub or local path (alias for -a)")
|
||||
.option("-a, --add <source>", "Install from GitHub or local path")
|
||||
.option("--from <source>", "Alias for --add")
|
||||
.option("--agent <agents...>", "Target specific agents")
|
||||
.option("-g, --global", "Install to global scope")
|
||||
.option("-y, --yes", "Skip all prompts")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue