tpagectl: deployment subcommand help references unwired flags #563

Closed
opened 2026-08-06 02:04:33 +00:00 by the.auditor · 0 comments
Owner

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

  • list says it "Supports --limit to cap results and --format (table, json, yaml)"
  • get says it "Requires --site and --version, or --latest"
  • promote says it "Requires --site and --version"
  • rollback says it takes "--site and an optional --to-version" and "Prompts for confirmation unless --force is given"

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 (#200, #204, #209, #214) land.

Ref: PR #562

Subcommand help text in `internal/tpagectl/deployment` references flags and behaviors that are not yet wired: - `list` says it "Supports --limit to cap results and --format (table, json, yaml)" - `get` says it "Requires --site and --version, or --latest" - `promote` says it "Requires --site and --version" - `rollback` says it takes "--site and an optional --to-version" and "Prompts for confirmation unless --force is given" 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 (#200, #204, #209, #214) land. Ref: PR #562
fuzzy 2026-08-06 02:06:29 +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#563
No description provided.