Problem
Currently, the CLI only outputs in a default format. Users working with scripts or automation tools would benefit from structured JSON output, while interactive users might prefer a formatted table view.
Proposed Solution
Add an --output flag that accepts:
json - Machine-readable JSON format
table - Human-readable table format (default)
text - Plain text output
Example Usage
# JSON output for scripts
event-integrator-cli list --output json
# Table format for interactive use
event-integrator-cli list --output table
# Plain text for simple parsing
event-integrator-cli list --output text
Benefits
- Better automation and CI/CD integration
- Improved developer experience
- Consistent with other modern CLI tools
- Makes the tool more scriptable
Related
This would complement the existing CLI commands and make the tool more versatile for different use cases.
Problem
Currently, the CLI only outputs in a default format. Users working with scripts or automation tools would benefit from structured JSON output, while interactive users might prefer a formatted table view.
Proposed Solution
Add an
--outputflag that accepts:json- Machine-readable JSON formattable- Human-readable table format (default)text- Plain text outputExample Usage
Benefits
Related
This would complement the existing CLI commands and make the tool more versatile for different use cases.