Skip to content

Add support for JSON output to all commands #48

@waldekmastykarz

Description

@waldekmastykarz

All commands should get an extra option (-o|--output [output], text|json, default text) that determines whether the command should render its output as a JSON string or plain text. Using JSON will be very useful when using the CLI in non-interactive mode and passing the output from one command into another. Any errors returned by the command should be passed as JSON objects so that they can be easily detected by other commands.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions