Closed MostafaYA closed 11 months ago
Oh, yes. It's not supported. Since there are two options, -m
and -r
, it's hard to implement with the current API.
Implemented.
1b. Texts are aligned left (default), center (-m/--align-center)
or right (-r/--align-right). Users can specify columns with column names,
field indexes or ranges.
Examples:
-m A,B # column A and B
-m 1,2 # 1st and 2nd column
-m -1 # the last column (it's not unselecting in other commands)
-m 1,3-5 # 1st, from 3rd to 5th column
-m 1- # 1st and later columns (all columns)
-m -3- # the last 3 columns
-m -3--2 # the 2nd and 3rd to last columns
-m 1- -r -1 # all columns are center-aligned, except the last column
# which is right-aligned. -r overides -m.
Prerequisites
csvtk version
Describe your issue
Hi,
csvtk pretty
seems not to support the column range syntaxThis works!
This doesnot work
Thank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).