fix(tpagectl): address CLI issues #634
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/thwap-pagesd!634
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-cli"
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?
Batch fix for the tpagectl CLI lump of the auditor issues.
version,help,completion,docs, and any--examplesinvocation now skip config/client bootstrap viaofflineCommand, so they succeed even with a broken config or unusable--server.TPAGECTL_SERVER_URL/TPAGECTL_SERVER_TOKENare re-applied after the active context, so env wins over context (documented order: flags > env > context > config).configFromContext/clientFromContextnow return(T, error)instead of a silentnil.error:prefix is colored, so multi-line error bodies andhint:lines render intact.cli.VersionPrinterassignment guarded sonewCommand()is free of global side effects.config.ClearTokenno longer creates a config file when none exists.token set/clear/logindegrade to the config fallback with a warning instead of failing outright.WithTLSConfigcloneshttp.DefaultTransport(preserving proxy/timeouts);--insecureignores any CA bundle.--oncereturns the last poll error instead of exiting 0.--limit.Closes #536, #538, #543, #549, #550, #569, #582, #587, #595, #596, #598, #599, #603, #605, #611, #623, #625, #630, #631
Also closed as already-resolved (comments on the issues): #586, #589, #590, #591, #592.
9f630a73e9fe4e6d0635