An open API service indexing awesome lists of open source software.

https://github.com/giodamelio/little_boxes

Put your things in boxes.
https://github.com/giodamelio/little_boxes

ascii box command-line

Last synced: 9 months ago
JSON representation

Put your things in boxes.

Awesome Lists containing this project

README

          

# Little Boxes
[![Rust](https://github.com/giodamelio/little_boxes/actions/workflows/rust.yml/badge.svg)](https://github.com/giodamelio/little_boxes/actions/workflows/rust.yml)
[![Nix](https://github.com/giodamelio/little_boxes/actions/workflows/nix.yml/badge.svg)](https://github.com/giodamelio/little_boxes/actions/workflows/nix.yml)
[![Crates.io Version](https://img.shields.io/crates/v/little_boxes.svg?style=flat-square)](https://crates.io/crates/little_boxes)
[![License](https://img.shields.io/crates/l/little_boxes.svg?style=flat-square)](https://github.com/giodamelio/little_boxes/blob/master/LICENSE)

Adds boxes around stdin. Optionally adds a title.

![preview](preview.png)

# Installation

```sh
# From crates.io
$ cargo install little_boxes

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

# Usage

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

Usage: little_boxes [OPTIONS]

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

```