-
Notifications
You must be signed in to change notification settings - Fork 352
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
format - add lines for rows and columns when using csv input #411
Labels
Comments
Hi @daniejstriata. You can use I think something like this would work for you. echo "
a1,a2,a3,a4,a5
b1,b2,b3,b4,b5
c1,c2,c3,c4,c5
d1,d2,d3,d4,d5
" | gum table -p |
see #760 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I would like to create a table from CSV input. I use
rich-cli
to format my CSV output but ideallygum
should do that too and I will need one less tool.Original:
using rich-cli:
What I'm getting is a table from which I can select a specific line which will get printed to the command line.
Describe the solution you'd like
I want gum to format csv or similar input like
rich-cli
is doing.Why does gum work below but I cannot format CSV?
Describe alternatives you've considered
rich-cli can format my CSV input into columns with minimal effort.
https://github.com/Textualize/rich-cli
The text was updated successfully, but these errors were encountered: