Skip to content

feat: add JSON output mode#98

Open
nicovaleops wants to merge 1 commit into
ApexOpsStudio:mainfrom
nicovaleops:add-json-output
Open

feat: add JSON output mode#98
nicovaleops wants to merge 1 commit into
ApexOpsStudio:mainfrom
nicovaleops:add-json-output

Conversation

@nicovaleops
Copy link
Copy Markdown

Closes #1.

This PR adds machine-readable JSON output across all three task commands.

Changes:

  • adds --json to add, list, and done
  • emits parseable JSON for created/listed/completed tasks
  • preserves existing human-readable output by default
  • documents JSON examples in the README
  • adds CLI-level tests for add/list/done JSON flows and empty list state

Validation:

  • python3 -m compileall task.py commands test_task.py test_json_output.py
  • python3 -m pytest -q4 passed

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.

Add --json output format

1 participant