blob: c7e4d76fb67b3b1b2c84e8dcc4f566b8bdf8d8c3 [file] [log] [blame]
Usage: style::stylize <command> [style options] [command parameters]
<command> is any command with output to stylize, followed by style options,
and then the command's normal parameters.
style options include:
--bold, --faint, --underline, etc.
--color <color_name>
--background <color_name>
--indent <spaces_count>
--stderr (output to standard error instead of standard out)
echo "This is $(style::echo -f --bold LOUD) and soft."
command parameters are those supported by the stylized command.
Use style::stylize --help colors for a list of colors or backgrounds
Use style::stylize --help attributes for a list of style attribute flags
Usage: style::printf [style options] [command parameters]
style options include:
--bold, --faint, --underline, etc.
--color <color_name>
--background <color_name>
--indent <spaces_count>
--stderr (output to standard error instead of standard out)
echo "This is $(style::echo -f --bold LOUD) and soft."
command parameters are those supported by the 'printf' command.
Use style::printf --help colors for a list of colors or backgrounds
Use style::printf --help attributes for a list of style attribute flags
Usage: style::error [style options] [command parameters]
Default style options for style::error:
"--stderr --bold --color red"
style options include:
--bold, --faint, --underline, etc.
--color <color_name>
--background <color_name>
--indent <spaces_count>
--stderr (output to standard error instead of standard out)
echo "This is $(style::echo -f --bold LOUD) and soft."
command parameters are those supported by the echo command.
Use style::error --help colors for a list of colors or backgrounds
Use style::error --help attributes for a list of style attribute flags
Usage: style::link [style options] [command parameters]
Default style options for style::link:
"--underline --color dark_blue"
style options include:
--bold, --faint, --underline, etc.
--color <color_name>
--background <color_name>
--indent <spaces_count>
--stderr (output to standard error instead of standard out)
echo "This is $(style::echo -f --bold LOUD) and soft."
command parameters are those supported by the echo command.
Use style::link --help colors for a list of colors or backgrounds
Use style::link --help attributes for a list of style attribute flags
black
blue
cyan
dark_blue
dark_cyan
dark_green
dark_magenta
dark_red
dark_yellow
default
gray
green
light_gray
magenta
pink
purple
red
white
yellow
--blink
--bold
--faint
--italic
--reset
--underline
INFO: Info here
WARNING: Watch out!
ERROR: What went wrong now?
WARNING: Customized warning style, still to stderr! :-)
This should still display in bold red, but on stderr