Skip to content

Add JSON output mode#79

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

Add JSON output mode#79
letrquan wants to merge 1 commit into
ApexOpsStudio:mainfrom
letrquan:add-json-output

Conversation

@letrquan
Copy link
Copy Markdown

Summary

  • Add --json support to add, list, and done commands.
  • Emit parseable JSON payloads for created, listed, and completed tasks.
  • Add tests and README examples for JSON output mode.

Validation

  • python -m py_compile task.py test_task.py commands/add.py commands/done.py commands/list.py
  • HOME="$PWD/.tmp-home" python task.py add "Buy groceries" --json
  • HOME="$PWD/.tmp-home" python task.py list --json
  • HOME="$PWD/.tmp-home" python task.py done 1 --json

/claim #1

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