#boxes #stdin #command-line #title #box #little #ascii

app little_boxes

Adds boxes around stdin. Optionally adds a title

5 stable releases

1.8.0 Aug 8, 2023
1.6.0 Sep 7, 2017
1.5.0 Sep 7, 2017
1.4.0 Sep 7, 2017
1.2.0 May 8, 2017

#6 in #boxes

MIT license

79KB
363 lines

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

Dependencies

~4–13MB
~141K SLoC