functions
Ansifmt

ansifmt Function

ansifmt returns a formatted, colored string which may be used for terminal output. It only accepts foreground colors.

ansifmt(color, string)

Examples

> ansifmt("red", "Hello World")
Hello World
> ansifmt("green", "Hello World")
Hello World