anomaly / gallagher

The missing toolkit for extending Gallagher Command Centre, featuring a CLI, SQL interface, TUI and a Python idiomatic SDK
https://anomaly.github.io/gallagher/
MIT License
11 stars 2 forks source link

Add `--json` option to cli tool to output structure data, also consider `--csv` and `--markdown` #35

Open devraj opened 4 months ago

devraj commented 4 months ago

Is your feature request related to a problem? Please describe. While we have the CLI presenting human readable data to our users, it can be useful to get structured json data for other tools to work with.

Describe the solution you'd like Add a --json response as described here to allow users to publish the output from the cli as json

Question, should we support --csv as well?

Describe alternatives you've considered NA

Additional context clig.dev wisdom