#echo #color #flags #output #utility #input #painted

app pecho

Painted echo: Echo with easy colors

3 stable releases

2.0.1 May 17, 2021
1.0.0 May 4, 2021

#28 in #echo

MIT license

16KB
324 lines

pecho

Short for Painted Echo, an alternative utility to echo with easy flags for coloring output.

Usage

    pecho [FLAGS] [OPTIONS] [--] [input]...

FLAGS:
    -k, --black
    -K, --black-bg
    -b, --blue
    -B, --blue-bg
    -l, --bright       Use the bright variant
    -L, --bright-bg    Use the bright background variant
    -q, --cyan
    -Q, --cyan-bg
    -g, --green
    -G, --green-bg
    -h, --help         Prints help information
    -E                 Treat backslashes literally
    -n                 No newline at the end
    -p, --purple
    -P, --purple-bg
    -r, --red
    -R, --red-bg
    -V, --version      Prints version information
    -w, --white
    -W, --white-bg
    -y, --yellow
    -Y, --yellow-bg

OPTIONS:
    -c, --color <color>         Specify color using an argument [possible values: black, red, green, yellow, blue,
                                purple, cyan, white]
    -C, --color-bg <colorBg>    Specify background color using an argument
    -s, --style <style>...      Styling
    -t, --truecolor <hex>       Hex color in xxxxxx format
    -T, --truecolor-bg <hex>    Background in hex in xxxxxx format

ARGS:
    <input>...    The string to print

Dependencies

~4–15MB
~121K SLoC