Skip to content

feat: add status report management commands#16

Merged
thibaultleouay merged 1 commit intomainfrom
sr-cmd
Mar 22, 2026
Merged

feat: add status report management commands#16
thibaultleouay merged 1 commit intomainfrom
sr-cmd

Conversation

@thibaultleouay
Copy link
Copy Markdown
Member

Add openstatus status-report (alias sr) command group with 6 subcommands:

  • list: list reports with optional status filter and pagination
  • info: show report details with update timeline
  • create: create a report linked to a status page
  • update: update report metadata (title, components)
  • delete: delete a report with confirmation prompt
  • add-update: add timeline entry with status transition

Extract shared auth interceptor and base URLs into internal/api/ so both monitors and status-report packages can reuse them.

Add `openstatus status-report` (alias `sr`) command group with 6 subcommands:
- list: list reports with optional status filter and pagination
- info: show report details with update timeline
- create: create a report linked to a status page
- update: update report metadata (title, components)
- delete: delete a report with confirmation prompt
- add-update: add timeline entry with status transition

Extract shared auth interceptor and base URLs into `internal/api/`
so both monitors and status-report packages can reuse them.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@thibaultleouay thibaultleouay merged commit e59cde6 into main Mar 22, 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.

2 participants