Skip to content

feat: add --json output format#83

Open
realkoreanbeef wants to merge 1 commit into
ApexOpsStudio:mainfrom
realkoreanbeef:feat/json-output-format
Open

feat: add --json output format#83
realkoreanbeef wants to merge 1 commit into
ApexOpsStudio:mainfrom
realkoreanbeef:feat/json-output-format

Conversation

@realkoreanbeef
Copy link
Copy Markdown

Summary

  • Adds a --json flag for add, list, and done commands
  • Emits a consistent {success, message, data} JSON envelope for scripting
  • Preserves existing human-readable output by default
  • Documents JSON usage examples in the README

Verification

  • Static scan for hardcoded secrets / shell injection / eval / pickle / SQL injection: OK
  • python3 -m pytest -q -> 11 passed
  • python3 -m py_compile task.py commands/add.py commands/done.py commands/list.py commands/output.py commands/__init__.py test_task.py
  • Manual JSON parse smoke test for add, list, and done
  • Independent code review passed with no blocking security concerns or logic errors

Closes #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.

Add --json output format

1 participant