-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
Add a --json flag to the runbook status command for machine-readable output.
Why
Currently runbook status outputs human-readable text. Adding JSON output would make it easier to:
- Integrate with monitoring tools
- Parse output in scripts
- Build dashboards
What to do
- Look at
src/cli.tsxfor the status command implementation - Add a
--jsonboolean flag using the existing CLI framework - When
--jsonis passed, output structured JSON instead of formatted text - Include the same information: service health, recent incidents, etc.
Example output
{
"timestamp": "2026-02-11T10:00:00Z",
"services": [
{"name": "checkout-api", "status": "healthy"},
{"name": "cart-service", "status": "degraded"}
],
"incidents": []
}Getting Started
bun install
bun run dev status # See current outputGood for learning the CLI structure!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers