Skip to content

feat: add --json output format to list command#120

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

feat: add --json output format to list command#120
pocikode wants to merge 1 commit into
ApexOpsStudio:mainfrom
pocikode:feat/json-output

Conversation

@pocikode

Copy link
Copy Markdown

Fixes #1

Added --json flag to the list command. Usage: python task.py list --json

Outputs the task list as pretty-printed JSON. Returns [] for empty lists so the output is always valid JSON.

Pass --json to 'task.py list' to get machine-readable JSON output
instead of the human-friendly text format. Returns '[]' for empty
task lists to keep the output valid JSON.

Fixes ApexOpsStudio#1
@pocikode

Copy link
Copy Markdown
Author

/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.

Add --json output format

1 participant