Crates.io | tapr |
lib.rs | tapr |
version | 0.7.0 |
source | src |
created_at | 2022-03-25 18:12:24.4571 |
updated_at | 2022-03-28 16:21:44.396843 |
description | tapr is a table pretty-printer. Outputs a CSV or TSV file as nicely as possible by adjusting column widths. |
homepage | https://github.com/tos-kamiya/tapr |
repository | |
max_upload_size | |
id | 556369 |
size | 234,907 |
tapr
is a table pretty-printer. Outputs a CSV or TSV file as nicely as possible by adjusting column widths.
Screenshot:
cargo install tapr
USAGE:
tapr [FLAGS] [OPTIONS] <input>
FLAGS:
-c, --csv Force treats input file as CSV
-h, --help Prints help information
-H, --header Prints first line as a header
-n, --line-number Prints line number
-t, --tsv Force treats input file as TSV
-V, --version Prints version information
OPTIONS:
-s, --line-sampling <num> Sampling size of lines to determine width of each column. Specify `0` for +inf
[default: 100]
ARGS:
<input> Input file. Specify `-` to read from the standard input
To pipe tapr
to less
, do not forget to specify --raw-control-chars
option to less
:
...(some command)... | tapr - | less -R
MIT/Apache-2.0