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

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

#3 in #boxes

Download history 6/week @ 2024-02-26 2/week @ 2024-03-11 82/week @ 2024-04-01

84 downloads per month

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–14MB
~149K SLoC