-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Introduce --sort
: Sort by Header
#95
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/remove-lifecycle stale |
Hi @Dentrax, sorry for the late reply, and thanks for your suggestion. csview aims to be a pure, fast csv pager for cli. Data processing capabilities, such as filter, map, sort, aggregate, etc., can be well provided by tools such as xsv (suggest you take a look at this tool if you often need to deal with csv data). You can easily combine it with csview through pipes, which should be more in line with the unix style IMO:
|
Check list
Environment info
Version
csview 1.2.2
Problem / Steps to reproduce
Thanks for such an awesome project! This is rock! 🔥
It would be nice to have a
(--sort|--sort-by|--sort-asc|--sort-dsc)
flag to sort items by providing header name: (I'm not sure about the flag namings)For example:
csview --sort-asc h1
:csview --sort-dsc h2
:WDYT?
The text was updated successfully, but these errors were encountered: