Open
Description
To improve usability and flexibility, we would like to add support for selecting the output format when displaying data.
Proposed output formats:
- Table (default)
- JSON
- HTML
If no format is specified, the output should default to table.
Additionally, it would be great to allow the user to specify a file path where the output (for json or html) can be written.
Summary:
- Add
--output
flag with support for:table
(default),json
,html
- Add
--output-file <path>
to write json/html to disk - Validate unsupported formats with clear errors
- Use as less additional dependencies as possible to minimize the compile time and executable size
- Consider extensibility for future formats (e.g. CSV, Markdown)
- Add tests for format correctness and file output
Metadata
Metadata
Assignees
Labels
No labels