crate / crash

Crash is an interactive CrateDB command line interface (CLI) SQL shell with autocompletion.
Apache License 2.0
48 stars 13 forks source link

CLI: Display output format choices within `crash --help` #412

Closed amotl closed 11 months ago

amotl commented 11 months ago

About

Display the list of available output format choices right away within crash --help, to improve guidance. Thank you for this suggestion, @mfussenegger, it will resolve GH-409.

Screenshot

crash --help

[...]

  --format FORMAT       the output FORMAT of the SQL response. choose one of: tabular,
                        json, csv, raw, mixed, dynamic, json_row