Skip to content

feat(cli): add status-pages get command (TIM-25)#1235

Merged
thebiglabasky merged 1 commit intoherve/TIM-24/status-pages-listfrom
herve/TIM-25/status-pages-get
Feb 25, 2026
Merged

feat(cli): add status-pages get command (TIM-25)#1235
thebiglabasky merged 1 commit intoherve/TIM-24/status-pages-listfrom
herve/TIM-25/status-pages-get

Conversation

@thebiglabasky
Copy link
Contributor

@thebiglabasky thebiglabasky commented Feb 25, 2026

Summary

  • Add checkly status-pages get <id> command showing page metadata + cards/services table (TIM-25)
  • Command support --output table|json|md / --output detail|json|md
  • 26 formatter unit tests covering expanded, compact, detail, pagination, and markdown output

Test plan

  • npx vitest --run src/formatters/__tests__/status-pages.spec.ts — 26 tests pass
  • npm run prepare:dist — builds without errors
  • CHECKLY_SKIP_AUTH=1 node bin/run status-pages list --help — shows correct flags
  • CHECKLY_SKIP_AUTH=1 node bin/run status-pages get --help — shows correct args/flags
  • Manual test against live account: checkly status-pages list
  • Manual test against live account: checkly status-pages get <id>

🤖 Generated with Claude Code

@thebiglabasky thebiglabasky changed the base branch from main to herve/TIM-24/status-pages-list February 25, 2026 17:00
@thebiglabasky thebiglabasky changed the title feat(cli): add status-pages get and list commands (TIM-24, TIM-25) feat(cli): add status-pages get command (TIM-25) Feb 25, 2026
Add `checkly status-pages get <id>` with detail/json/md output formats.
Shows page metadata, cards, and services with linked check IDs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@thebiglabasky thebiglabasky force-pushed the herve/TIM-25/status-pages-get branch from 7c1134c to 285cdd1 Compare February 25, 2026 17:16
@thebiglabasky thebiglabasky merged commit b69df15 into herve/TIM-24/status-pages-list Feb 25, 2026
@thebiglabasky thebiglabasky deleted the herve/TIM-25/status-pages-get branch February 25, 2026 17:16
MichaelHogers pushed a commit that referenced this pull request Feb 26, 2026
…25] (#1234)

* feat(cli): add status-pages REST module

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test(cli): add status-pages formatter fixtures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(cli): add status-pages formatter with card/service tree

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test(cli): strengthen non-private dash assertion in status-pages spec

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(cli): add checkly status-pages list command (TIM-24)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(cli): replace tree view with flat subtable for status-pages list

Default output now renders one row per service with all fields
(name, url, card, service, id) repeated on every row. This is
agent-friendly — every row is self-contained, no state tracking
needed. --compact shows one row per status page with card counts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test(e2e): include status-pages in help output assertion

* feat(cli): add status-pages get command (TIM-25) (#1235)

Add `checkly status-pages get <id>` with detail/json/md output formats.
Shows page metadata, cards, and services with linked check IDs.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* feat(cli): hint about compact mode in status-pages list

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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