Skip to content

feat: add json output and default config#70

Open
criticalconnections wants to merge 1 commit into
ApexOpsStudio:mainfrom
criticalconnections:fix-json-output-and-config-defaults
Open

feat: add json output and default config#70
criticalconnections wants to merge 1 commit into
ApexOpsStudio:mainfrom
criticalconnections:fix-json-output-and-config-defaults

Conversation

@criticalconnections
Copy link
Copy Markdown

Summary

  • Adds a --json flag to add, list, and done commands.
  • Emits parseable JSON for successful command output and empty/error states.
  • Creates a default config file when ~/.config/task-cli/config.yaml is missing instead of crashing.
  • Adds tests for default config creation and JSON output.

Fixes #1.
Fixes #2.

/claim #1
/claim #2

Validation

  • python -m pytest test_task.py
  • python -m compileall task.py commands test_task.py
  • git diff --check

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.

Fix: Crash when config file missing Add --json output format

1 participant