Skip to content

fix(cli): use positional instance names in help and error text - #261

Merged
zheli merged 1 commit into
mainfrom
zzz/ada28ef8
Jul 11, 2026
Merged

fix(cli): use positional instance names in help and error text#261
zheli merged 1 commit into
mainfrom
zzz/ada28ef8

Conversation

@zheli

@zheli zheli commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace --name-style remediation with positional syntax (localnet up <name>, localnet down <name>, etc.) across CLI output, Web UI errors, troubleshooting docs, and agent skills.
  • Fix invalid command suggestions found during audit: remove nonexistent down --keep-data, require instance name in metrics hint, and include instance name in down success box remove hint.
  • Add regression test pinning empty-list hint text.

Test plan

  • go test ./internal/cli/localnet/ ./internal/localnet/
  • Spot-check remediation on port conflict / missing instance errors

Users now pass instance names as arguments (`localnet up demo`) rather than
via the legacy `--name` flag. Update remediation strings across CLI, Web UI,
docs, and skills to match, and fix invalid suggestions (`--keep-data`,
nameless `up --profile observability`, bare `localnet remove`).
@zheli
zheli merged commit 817b8f7 into main Jul 11, 2026
4 checks passed
@zheli
zheli deleted the zzz/ada28ef8 branch July 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant