Skip to content

Add JSON output format#85

Open
xiaopeng215-sys wants to merge 1 commit into
ApexOpsStudio:mainfrom
xiaopeng215-sys:codex/add-json-output
Open

Add JSON output format#85
xiaopeng215-sys wants to merge 1 commit into
ApexOpsStudio:mainfrom
xiaopeng215-sys:codex/add-json-output

Conversation

@xiaopeng215-sys
Copy link
Copy Markdown

Closes #1.

Summary

  • Added --json support for add, list, and done while preserving existing human-readable output by default.
  • JSON responses include task payloads for scripting and automation.
  • Added CLI regression tests for valid JSON output and documented examples in the README.

Verification

  • python3 -m py_compile task.py commands/add.py commands/list.py commands/done.py
  • uvx --from pytest pytest test_task.py -q
  • Manual JSON smoke test for add --json, list --json, and done --json with json.loads
  • git diff --check

@xiaopeng215-sys xiaopeng215-sys mentioned this pull request May 12, 2026
4 tasks
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