8000 Output options · Issue #28 · bircni/git-statuses · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Output options #28
Open
Open
@bircni

Description

@bircni

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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0