fix(ux): document --fast flag in help text (#3323)

The --fast flag enables all speed optimizations (images, tarballs,
parallel, docker) but was completely invisible in help output. Users
had to read source or manually stack 4 --beta flags.

Agent: ux-engineer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
A 2026-04-19 01:29:48 -07:00 committed by GitHub
parent 57174a0f15
commit cfd428d213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "1.0.17",
"version": "1.0.18",
"type": "module",
"bin": {
"spawn": "cli.js"

View file

@ -10,6 +10,7 @@ function getHelpUsageSection(): string {
spawn <agent> <cloud> --size <type> Set instance size/type (works for all clouds)
spawn <agent> <cloud> --model <id> Set the LLM model (e.g. openai/gpt-5.3-codex)
spawn <agent> <cloud> --custom Show interactive size/region pickers
spawn <agent> <cloud> --fast Enable all speed optimizations (images, tarballs, parallel)
spawn <agent> <cloud> --headless Provision and exit (no interactive session)
spawn <agent> <cloud> --output json
Headless mode with structured JSON on stdout
@ -73,6 +74,7 @@ function getHelpExamplesSection(): string {
${pc.dim("# Use a specific machine type")}
spawn codex gcp --model openai/gpt-5.3-codex
${pc.dim("# Override the default LLM model")}
spawn claude sprite --fast ${pc.dim("# Fastest provisioning (images + tarballs + parallel)")}
spawn opencode gcp --dry-run ${pc.dim("# Preview without provisioning")}
spawn claude hetzner --headless ${pc.dim("# Provision, print connection info, exit")}
spawn claude hetzner --output json ${pc.dim("# Structured JSON output on stdout")}