mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-16 20:20:57 +01:00
19 lines
1.1 KiB
Go
19 lines
1.1 KiB
Go
package cmd
|
|
|
|
const shortusage = `tablizer [regex,...] [-r file] [flags]
|
|
-c col,... show specified columns -L highlight matching lines
|
|
-k col,... sort by specified columns -j read JSON input
|
|
-F col=reg filter field with regexp -v invert match
|
|
-T col,... transpose specified columns -n numberize columns
|
|
-R /from/to/ apply replacement to columns in -T -N do not use colors
|
|
-y col,... yank columns to clipboard -H do not show headers
|
|
--ofs char output field separator -s specify field separator
|
|
-r file read input from file -z use fuzzy search
|
|
-f file read config from file -I interactive filter mode
|
|
-x col,... use custom headers -d debug
|
|
-o char use char as output separator -g auto generate headers
|
|
|
|
-O org -C CSV -M md -X ext -S shell -Y yaml -J json -P template
|
|
-a sort by age -i sort numerically -t sort by time -D sort descending order
|
|
-m show manual -v show version --help show detailed help`
|