csvpretty

Crates.iocsvpretty
lib.rscsvpretty
version0.1.0
created_at2025-11-10 02:25:42.975552+00
updated_at2025-11-10 02:25:42.975552+00
descriptionA command-line tool that formats CSV input into tables with Unicode box-drawing characters
homepage
repositoryhttps://github.com/kellpossible/csvpretty
max_upload_size
id1924662
size93,894
Luke Frisken (kellpossible)

documentation

README

csvpretty

A command-line tool that formats CSV input into tables with Unicode box-drawing characters.

Output style and color themes are based on csvlens.

Installation

cargo install --path .

Usage

cat data.csv | csvpretty

Options

Format CSV input into a beautiful table

Usage: csvpretty [OPTIONS]

Options:
      --wrap <WRAP>   Text wrapping mode: word, char, or none [default: word] [possible values: word, char, none]
  -n, --line-numbers  Show line numbers
      --no-color      Disable column colors
  -h, --help          Print help

Examples

# Basic usage with colors and word wrapping
cat data.csv | csvpretty

# With line numbers
cat data.csv | csvpretty -n

# No wrapping, for use with pager
cat data.csv | csvpretty --wrap none | less -S

# Without colors
cat data.csv | csvpretty --no-color

License

MIT

Commit count: 0

cargo fmt