1.0.2 • Published 8 years ago

boxup-cli v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

logo.svg

Create boxes in the terminal

MIT License build:?

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