tpagectl: preview subcommand help references unwired flags #574
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/thwap-pagesd#574
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Subcommand help text in
internal/tpagectl/previewreferences flags and behaviors that are not yet wired:listsays it "Supports --format (table, json, yaml)"deploysays it "Requires --site and --branch" and "Waits for the preview to be ready (with a timeout)"deletesays it takes "--site", "--branch or --all", and "Prompts for confirmation unless --force is given"getsays 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--helplists them truthfully) or soften the descriptions until the implementation issues (#221, #226, #231, #235) land.Ref: PR #572