tty-table
tty-table copied to clipboard
CSV/JSON/YAML renderers would be nice
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)
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....