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

feature provide column headers via parameter for asciitable #590

Open
DEvil0000 opened this issue Sep 9, 2024 · 0 comments
Open

feature provide column headers via parameter for asciitable #590

DEvil0000 opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DEvil0000
Copy link

I would like to provide column headers via a parameter for asciitable.
also defining a separator char might be helpfull.

example command:
cat $file | jc --asciitable --headers="a b" --separator=" "

example input file:
aaaaaa xyz
bbbbb uvw

example output:
[{"a": "aaaaaa", "b": "xyz"},{"a": "bbbbb", "b": "uvw"}]

@kellyjonbrazil kellyjonbrazil added the enhancement New feature or request label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants