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

Add tabular output options for the list-* commands #30

Open
andy-dean-rai opened this issue Aug 10, 2022 · 1 comment
Open

Add tabular output options for the list-* commands #30

andy-dean-rai opened this issue Aug 10, 2022 · 1 comment

Comments

@andy-dean-rai
Copy link

It would be convenient to be able to get output in tabular formats (csv and with columns aligned), quotes stripped, and columns in a meaningful order.

Something like the result of
rai list-engines | jq -r '(map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' | column -s , -t

@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-6352.

This link is only accessible to employees of RelationalAI.

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

3 participants