Skip to content

Add option to return command results in "pretty" format #193

@notmandatory

Description

@notmandatory

Describe the enhancement

Currently all command outputs are in JSON format. It would be nice to have an option to return the outputs in a more human readable format, such as formatted tables or similar

This could be done with simple println and tabs or with a TUI library that provides better formatting options.

Use case

Json is good for the default but for casual testing or new users a human readable format is better.

Additional context

This is an example of prettier table format for TUI output:

https://github.com/ccbrown/iocraft?tab=readme-ov-file#more-examples

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions