Skip to content

feat: add maintenance command and extract shared wizard helpers#24

Merged
thibaultleouay merged 1 commit intomainfrom
maintenance
Mar 31, 2026
Merged

feat: add maintenance command and extract shared wizard helpers#24
thibaultleouay merged 1 commit intomainfrom
maintenance

Conversation

@thibaultleouay
Copy link
Copy Markdown
Member

Add maintenance (alias mt) command with create, list, info, update, and delete subcommands for managing maintenance windows via the Connect RPC API.

Extract shared wizard helpers (NotEmpty, HandleFormError, BuildSummary, FetchStatusPages, FetchPageComponents, ValidRFC3339) into internal/wizard/ and export StatusPageURL from internal/statuspage/ to eliminate duplication between statusreport and maintenance wizards.

Add FormatTimestamp utility to shorten RFC 3339 timestamps in human output (2006-01-02 15:04 UTC) across both maintenance and status report commands.

Add `maintenance` (alias `mt`) command with create, list, info, update,
and delete subcommands for managing maintenance windows via the
Connect RPC API.

Extract shared wizard helpers (NotEmpty, HandleFormError, BuildSummary,
FetchStatusPages, FetchPageComponents, ValidRFC3339) into
`internal/wizard/` and export StatusPageURL from `internal/statuspage/`
to eliminate duplication between statusreport and maintenance wizards.

Add FormatTimestamp utility to shorten RFC 3339 timestamps in human
output (`2006-01-02 15:04 UTC`) across both maintenance and
status report commands.
@thibaultleouay thibaultleouay merged commit 8e67928 into main Mar 31, 2026
1 check passed
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