CalSch / cmd-style

A command line tool for styling text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmd-style

A super simplecommand line tool for styling text

Examples

Centered bold text with a red foreground and a blue background:

echo Hello World! | style bold | style fg red | style bg blue | style center

Output:
image

Padded text from FIGlet with a red background, padded again, with a round border, padded again, and centered.

figlet "Hello World!" | style pad 4 1 | style bg red | style pad 3 1 | style border round | style pad 1 12 | style center

Output: image

NOTE: If you pipe style center into something, it will center the text, but not in the center of the screen.

About

A command line tool for styling text


Languages

Language:JavaScript 100.0%