CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
MIT License
7.92k
stars
210
forks
source link
feature provide column headers via parameter for asciitable #590
I would like to provide column headers via a parameter for asciitable. also defining a separator char might be helpfull.
example command: cat $file | jc --asciitable --headers="a b" --separator=" "
example input file: aaaaaa xyz bbbbb uvw
example output: [{"a": "aaaaaa", "b": "xyz"},{"a": "bbbbb", "b": "uvw"}]