lzakharov / csv2md

Command line tool for converting CSV files into Markdown tables.
MIT License
103 stars 8 forks source link

support csv with no header? #11

Closed AlJohri closed 12 months ago

AlJohri commented 1 year ago

csvkit supports a common cli flag across all of its tools to support inputting csv files with no header

-H, --no-header-row   Specify that the input CSV file has no header row.
                      Will create default headers (a,b,c,...).

it would be helpful if csv2md supported the same or a similar flag

this would allow quickly creating csv's using jq's @csv filter and piping it into csv2md

lzakharov commented 1 year ago

Good idea! Would you like to send PR with this feature? If no, I'll try to implement it on the next week.

lzakharov commented 12 months ago

Implemented in v1.2.0. Thanks for the suggested feature!