wireservice / csvkit

A suite of utilities for converting to and working with CSV, the king of tabular file formats.
https://csvkit.readthedocs.io
MIT License
5.98k stars 608 forks source link

csvsql: add an option to not show the name of the selected columns #1229

Closed maaaaz closed 7 months ago

maaaaz commented 8 months ago

Hello there,

If would be cool to have an option to not show the name of the selected columns. To date, I always have to put | sed 1d after a csvsql --query to achieve this, which is quite useless.

Cheers !

jpmckinney commented 7 months ago

Only csvformat has output configuration options. The other commands produce a consistent output.

You can do | csvformat -E (i.e. | csvformat --skip-header), but this is longer than | sed 1d (it is useful if the header contains newlines, or if you want to do other formatting changes).

We aren't going to add output format options to all commands, so this issue is wontfix.