Skip to content

Commit ffc58b2

Browse files
committed
Redesign API commands as top-level resource commands with subcommands
Replace `cronitor api <resource>` with `cronitor <resource> <action>`: cronitor monitor list cronitor monitor get <key> cronitor monitor create --data '{...}' cronitor monitor update <key> --data '{...}' cronitor monitor delete <key> cronitor monitor pause <key> cronitor monitor unpause <key> Same pattern for: statuspage, issue, notification, environment Features: - Beautiful table output using lipgloss styling - Colored status indicators (passing/failing/paused) - Consistent --format, --output, --page flags - Aliases: `env` for environment, `notifications` for notification https://claude.ai/code/session_01UDueW9A6SuxugCcsbAMfdB
1 parent 2c6428e commit ffc58b2

File tree

14 files changed

+2052
-1530
lines changed

14 files changed

+2052
-1530
lines changed

cmd/api.go

Lines changed: 0 additions & 221 deletions
This file was deleted.

cmd/api_environments.go

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)