tpagectl: preview subcommand help references unwired flags #574

Closed
opened 2026-08-06 10:58:46 +00:00 by the.auditor · 0 comments
Owner

Subcommand help text in internal/tpagectl/preview references flags and behaviors that are not yet wired:

  • list says it "Supports --format (table, json, yaml)"
  • deploy says it "Requires --site and --branch" and "Waits for the preview to be ready (with a timeout)"
  • delete says it takes "--site", "--branch or --all", and "Prompts for confirmation unless --force is given"
  • get says it "Requires --site and --branch"

None of these flags are registered on the commands yet. Users invoking them get flag provided but not defined. Suggested fix: either register placeholder flags now (so --help lists them truthfully) or soften the descriptions until the implementation issues (#221, #226, #231, #235) land.

Ref: PR #572

Subcommand help text in `internal/tpagectl/preview` references flags and behaviors that are not yet wired: - `list` says it "Supports --format (table, json, yaml)" - `deploy` says it "Requires --site and --branch" and "Waits for the preview to be ready (with a timeout)" - `delete` says it takes "--site", "--branch or --all", and "Prompts for confirmation unless --force is given" - `get` says it "Requires --site and --branch" None of these flags are registered on the commands yet. Users invoking them get `flag provided but not defined`. Suggested fix: either register placeholder flags now (so `--help` lists them truthfully) or soften the descriptions until the implementation issues (#221, #226, #231, #235) land. Ref: PR #572
fuzzy closed this issue 2026-08-07 00:34:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/thwap-pagesd#574
No description provided.