-
Notifications
You must be signed in to change notification settings - Fork 0
add --json flag for structured CLI output #4
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
The CLI currently outputs JSON by default, but plugin progress logs go to stderr mixed with the output.
Goal: Add a `--json` flag that outputs structured NDJSON (one JSON object per event):
```
{"type":"plugin","id":"github","status":"done","nodes":3,"edges":2}
{"type":"plugin","id":"dns","status":"done","nodes":8,"edges":7}
{"type":"resolve","merged":1,"suggested":0}
{"type":"done","nodes":47,"edges":63}
```
This makes the CLI pipeable into monitoring tools and dashboards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers