boxup-cli
v1.0.2
Published
Create boxes in the terminal
Downloads
7
Maintainers
Readme
Create boxes in the terminal
Install
$npm install --save boxup-cli
Usage
Usage: boxup [options] <line1> <line2> ...
Options:
-w, --width num/p.c. .............. the width of the box.
-a, --text-align align ............ text alignment in the box. left|center|right
-A, --box-align align ............. the alignment of the box. left|center|right
-s, --border-style preset ......... style of the box border.
-f, --border-color color .......... color of the box border.
-b, --bg-color color .............. color of the background.
-m, --margin ...................... set the white space around the box.
-p, --padding ..................... space between the text and box border.
-d, --dim-border .................. reduce opacity of the border.
-h, --help ........................ you're looking at it.
-h, --help <topic> ................ help on a specific feature.
Topics: width, color, preset, align. Try "boxup --help color".
Examples:
$ boxup "I ❤ unicorns"
$ boxup -w=50 -a=left "A big box"
$ boxup -s=double-single "double-single"
$ boxup -m=0 -p=2 "no margin, more padding"
$ boxup "line 1" "line 2"
Related
- boxup - wrap content with a box in the terminal
- boxup-preset - border style presets for boxup