Skip to content

Commit 303272e

Browse files
committed
Answer review comments
1 parent f837005 commit 303272e

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

agent/skills/cli/cli.go

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,10 @@ func GetSubCommands() []components.Command {
3535
Action: install.RunInstall,
3636
},
3737
{
38-
Name: "update",
39-
Flags: flagkit.GetCommandFlags(flagkit.SkillsUpdate),
40-
Description: "Update an installed skill to the latest (or a specific) version. " +
41-
"Use --slug with --harness (comma-separated) and --project-dir or --global; or --slug with --path <dir>. " +
42-
"With --all (requires --harness), updates every discovered skill under those harnesses to latest in one summary table " +
43-
"(interactive confirmation before proceeding; folder name is the slug, same as --slug). " +
44-
"Skips targets not installed or already at the target version (use --force to re-download). " +
45-
"Use --dry-run to preview, --format json for machine-readable summaries.",
46-
Action: update.RunUpdate,
38+
Name: "update",
39+
Flags: flagkit.GetCommandFlags(flagkit.SkillsUpdate),
40+
Description: "Update an installed skill from Artifactory (latest or --version). --slug with --harness (--project-dir or --global) or --path; --all batch-updates under --harness (confirmation prompt). Skips unchanged targets unless --force. --dry-run and --format json supported.",
41+
Action: update.RunUpdate,
4742
},
4843
{
4944
Name: "search",

0 commit comments

Comments
 (0)