1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 06:02:08 +02:00
tldr/pages/common/boxes.md
Ethan Leitch 0ef8262616
boxes: add page (#9961)
* boxes: add page
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-05-16 22:45:01 +05:30

24 lines
495 B
Markdown

# boxes
> Draw, remove, and repair ASCII art boxes.
> More information: <https://boxes.thomasjensen.com>.
- Draw a box around a string:
`echo "{{string}}" | boxes`
- Remove a box from a string:
`echo "{{string}}" | boxes -r`
- Draw a box with a specific design around a string:
`echo "{{string}}" | boxes -d {{parchment}}`
- Draw a box with a width of 10 and a height of 5:
`echo "{{string}}" | boxes -s {{10}}x{{5}}`
- Draw a box with centered text:
`echo "{{string}}" | boxes -a c`