From 2b0533b65882670e66120ec1a2daea125fec6108 Mon Sep 17 00:00:00 2001
From: sammy-ette lunacolors.blue 'Hello world'
and that’ll re
blue text which you can print. This includes styles like bold,
underline, etc.
In other usage, you may want to use a format string instead of having multiple nested functions for different styles. This is where the format -function comes in. You can used named keywords to style a section of text.
The list of arguments are: -Colors:
For the colors, there are background and bright variants. The background
-color variants have a suffix of Bg
and bright has a prefix of bright
.
-Note that appropriate camel casing has to be applied to them. So bright
-blue would be brightBlue
and background cyan would be cyanBg
.