https://github.com/bubkoo/boxup-cli
Create boxes in the terminal
https://github.com/bubkoo/boxup-cli
Last synced: 12 months ago
JSON representation
Create boxes in the terminal
- Host: GitHub
- URL: https://github.com/bubkoo/boxup-cli
- Owner: bubkoo
- License: mit
- Created: 2016-04-04T18:44:39.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T06:32:44.000Z (almost 10 years ago)
- Last Synced: 2024-10-07T09:05:13.249Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

> Create boxes in the terminal
[](https://github.com/bubkoo/boxup-cli/blob/master/LICENSE)
[](https://travis-ci.org/bubkoo/boxup-cli)
## Install
```
$npm install --save boxup-cli
```
## Usage
```
Usage: boxup [options] ...
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 ................ 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](https://github.com/bubkoo/boxup) - wrap content with a box in the terminal
- [boxup-preset](https://github.com/bubkoo/boxup-preset) - border style presets for [boxup](https://github.com/bubkoo/boxup)