Skip to content

feat: add monitor commands#11

Open
Olostep-devs wants to merge 1 commit into
mainfrom
feat/monitors
Open

feat: add monitor commands#11
Olostep-devs wants to merge 1 commit into
mainfrom
feat/monitors

Conversation

@Olostep-devs

Copy link
Copy Markdown

Adds olostep monitor subcommand group with 7 commands:

  • monitor create <query> — create a recurring monitor with --frequency, --include-urls, --notification-email, --webhook-url
  • monitor list — list all monitors; --include-deleted flag
  • monitor get <id> — get a single monitor; --diagram flag for Mermaid DAG
  • monitor pause <id> — pause scheduled runs
  • monitor resume <id> — resume scheduled runs
  • monitor delete <id> — soft-delete
  • monitor events <id> — list snapshot events; --limit, --cursor flags

All commands support --json and --out for machine-readable output. 206/206 existing tests pass; 18 new monitor tests added.

@samyakkkk you are the responsible reviewer for this surface (top active contributor of olostep-api/olostep-cli).

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