Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV/JSON/YAML renderers would be nice #15

Open
kke opened this issue May 16, 2017 · 1 comment
Open

CSV/JSON/YAML renderers would be nice #15

kke opened this issue May 16, 2017 · 1 comment

Comments

@kke
Copy link

kke commented May 16, 2017

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)

@piotrmurach
Copy link
Owner

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....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants