Skip to content

giodamelio/little_boxes

Repository files navigation

Little Boxes

Rust Nix Crates.io Version License

Adds boxes around stdin. Optionally adds a title.

preview

Installation

# From crates.io
$ cargo install little_boxes

# Try it out with Nix flakes
$ echo "Hello World" | nix run github:giodamelio/little_boxes

Usage

$ little_boxes --help
Adds boxes around stdin. Optionally adds a title

Usage: little_boxes [OPTIONS]

Options:
  -t, --title <TITLE>      Add a title to the box
  -c, --charset <CHARSET>  The charset to draw the box with [default: thick] [possible values: thick, thin, double, box, rounded, dot]
  -f, --file <FILE>        Read input from a file instead of stdin
      --all                Compare all charsets
  -h, --help               Print help
  -V, --version            Print version