csv_to_mdtable

Program to convert CSV to GitHub compatible markdown table

Install

If ~/bin is in path:

make

Otherwise

make build
mv ./csv_to_mdtable /desired/location/

Usage

csv_to_mdtable some_csv.csv
cat some_csv.csv | csv_to_mdtable

Example to copy a table in Postgres to clipboard

psql -c "\copy (select 2 as number) to program 'csv_to_mdtable | pbcopy' with (format csv, header)"

Requirements

  • crystal 0.27.0
Repository

csv_to_mdtable

Owner
Statistic
  • 0
  • 0
  • 1
  • 0
  • 0
  • about 6 years ago
  • December 14, 2018
License

MIT License

Links
Synced at

Sat, 19 Jul 2025 23:52:03 GMT

Languages