tty-table icon indicating copy to clipboard operation
tty-table copied to clipboard

CSV/JSON/YAML renderers would be nice

Open kke opened this issue 8 years ago • 1 comments
trafficstars

In a CLI app it would be kind of neat to have something like: foo service list --format csv. This would be super easy if tty-table had such renderers, just do something like table.render(opts.format || :basic)

kke avatar May 16 '17 09:05 kke

As things stand the renderers logic is a bit convoluted for what it needs to be and much cleaner/simpler api is needed. My preference would be to create similar interface to tty-tree render I'm all for adding different renderer types for csv/json/yaml etc....

piotrmurach avatar May 16 '17 21:05 piotrmurach