Add --json output flag #19

Open
opened 2026-03-16 22:34:26 +00:00 by austin · 0 comments
Owner

Machine-readable output for scripting and piping to jq.

What needs to happen

Add --json flag to all list and view commands (project list, issue list, issue view). Default output remains the human-readable table. When --json is set, output raw JSON to stdout.

This enables workflows like:

vektor issue list --project VEK --json | jq '.[] | select(.priority == "urgent")'
Machine-readable output for scripting and piping to `jq`. ## What needs to happen Add `--json` flag to all list and view commands (`project list`, `issue list`, `issue view`). Default output remains the human-readable table. When `--json` is set, output raw JSON to stdout. This enables workflows like: ```sh vektor issue list --project VEK --json | jq '.[] | select(.priority == "urgent")' ```
austin added this to the Self-Host milestone 2026-03-16 22:34:26 +00:00
austin self-assigned this 2026-03-16 22:34:26 +00:00
austin added this to the Vektor - CLI project 2026-03-16 22:34:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
Reference
austin/vektor#19
No description provided.