From bf738bee695cbaf92b492ceb4feb7d1fd5b8fa6f Mon Sep 17 00:00:00 2001 From: A <258483684+la14-1@users.noreply.github.com> Date: Sat, 14 Feb 2026 19:11:42 -0800 Subject: [PATCH] ux: improve CLI help examples and remove duplicate auth text (#1163) - Diversify help command examples to showcase more agents and clouds (openclaw, goose, interpreter, vultr, digitalocean, linode) - Remove duplicate "Auth: token" text in cloud info display - Update test to match new help examples Agent: ux-engineer Co-authored-by: spawn-refactor-bot Co-authored-by: Claude Sonnet 4.5 --- cli/src/__tests__/cmd-help-content.test.ts | 2 +- cli/src/commands.ts | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/cli/src/__tests__/cmd-help-content.test.ts b/cli/src/__tests__/cmd-help-content.test.ts index 24068382..1e5012ac 100644 --- a/cli/src/__tests__/cmd-help-content.test.ts +++ b/cli/src/__tests__/cmd-help-content.test.ts @@ -143,7 +143,7 @@ describe("cmdHelp - content completeness", () => { it("should show direct launch example with agent and cloud", () => { const output = getHelpOutput(); - expect(output).toContain("spawn claude sprite"); + expect(output).toContain("spawn openclaw sprite"); }); it("should show --prompt example", () => { diff --git a/cli/src/commands.ts b/cli/src/commands.ts index fa2e5727..0a42a5b8 100644 --- a/cli/src/commands.ts +++ b/cli/src/commands.ts @@ -1786,8 +1786,6 @@ function printQuickStart(opts: { for (let i = 0; i < opts.authVars.length; i++) { console.log(formatAuthVarLine(opts.authVars[i], i === 0 ? opts.cloudUrl : undefined)); } - } else if (opts.auth.toLowerCase() !== "none") { - console.log(` ${pc.dim(`Auth: ${opts.auth}`)}`); } if (opts.spawnCmd) { console.log(` ${pc.cyan(opts.spawnCmd)}`); @@ -1932,18 +1930,19 @@ function getHelpUsageSection(): string { function getHelpExamplesSection(): string { return `${pc.bold("EXAMPLES")} spawn ${pc.dim("# Pick interactively")} - spawn claude sprite ${pc.dim("# Launch Claude Code on Sprite")} + spawn openclaw sprite ${pc.dim("# Launch OpenClaw on Sprite")} spawn aider hetzner ${pc.dim("# Launch Aider on Hetzner Cloud")} + spawn goose digitalocean ${pc.dim("# Launch Goose on DigitalOcean")} spawn claude sprite --prompt "Fix all linter errors" ${pc.dim("# Execute Claude with prompt and exit")} spawn aider sprite -p "Add tests" ${pc.dim("# Short form of --prompt")} - spawn claude sprite -f instructions.txt + spawn openclaw vultr -f instructions.txt ${pc.dim("# Read prompt from file (short for --prompt-file)")} - spawn claude sprite --dry-run ${pc.dim("# Preview without provisioning")} + spawn interpreter linode --dry-run ${pc.dim("# Preview without provisioning")} spawn claude ${pc.dim("# Show which clouds support Claude")} spawn hetzner ${pc.dim("# Show which agents run on Hetzner")} spawn list ${pc.dim("# Browse history and pick one to rerun")} - spawn list claude ${pc.dim("# Filter history by agent name")} + spawn list aider ${pc.dim("# Filter history by agent name")} spawn matrix ${pc.dim("# See the full agent x cloud matrix")}`; }