Skip to content

feat: add json output mode#64

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

feat: add json output mode#64
ideook wants to merge 1 commit into
ApexOpsStudio:mainfrom
ideook:add-json-output

Conversation

@ideook
Copy link
Copy Markdown

@ideook ideook commented May 11, 2026

Summary

Implements #1 by adding --json output support to all commands:

  • add --json
  • list --json
  • done --json

Also documents the JSON usage examples in the README.

Verification

pytest is not installed in this environment, so I used syntax and CLI smoke checks:

  • python3 -m py_compile task.py commands/*.py
  • HOME=$(mktemp -d) python3 task.py list --json
  • HOME=$(mktemp -d) python3 task.py add "Buy milk" --json
  • HOME=$(mktemp -d) python3 task.py list --json
  • HOME=$(mktemp -d) python3 task.py done 1 --json

@ideook ideook force-pushed the add-json-output branch from 1644f52 to 1310e97 Compare May 11, 2026 00:10
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.

1 participant