Skip to content

feat: add notification command with list and info subcommands#26

Merged
thibaultleouay merged 1 commit intomainfrom
notif-cmd
Apr 1, 2026
Merged

feat: add notification command with list and info subcommands#26
thibaultleouay merged 1 commit intomainfrom
notif-cmd

Conversation

@thibaultleouay
Copy link
Copy Markdown
Member

Add a read-only notification (alias n) top-level command to view notification channels configured in the workspace. Supports all 12 provider types: discord, email, google_chat, grafana_oncall, ntfy, pagerduty, opsgenie, slack, sms, telegram, webhook, and whatsapp.

  • notification list shows ID, name, provider, and monitor count
  • notification info <id> shows full provider config, linked monitors, and timestamps with nested provider-specific data in JSON output
  • Follows the same patterns as status-page (dual client factory, interceptor test helpers, JSON/table output branching)

Add a read-only `notification` (alias `n`) top-level command to view
notification channels configured in the workspace. Supports all 12
provider types: discord, email, google_chat, grafana_oncall, ntfy,
pagerduty, opsgenie, slack, sms, telegram, webhook, and whatsapp.

- `notification list` shows ID, name, provider, and monitor count
- `notification info <id>` shows full provider config, linked monitors,
  and timestamps with nested provider-specific data in JSON output
- Follows the same patterns as status-page (dual client factory,
  interceptor test helpers, JSON/table output branching)
@thibaultleouay thibaultleouay merged commit 9d4c832 into main Apr 1, 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