I already know that I can colorize output with grep and with a couple of different ways. I want to have something like supercat, but for commands (and not that dead).
The application Supercat colors any input text based on the type of file and a set of rules associated with the file type. The rules are used to match strings found in the input text and can be specified using simple characters or strings, regular expressions and special time-formatting rules.
Lets say, I'm writing magiccommand gcc blah blah
, this magic command understands that it has to colorify gcc output and chooses one template. Now, I'm willing to magiccommand mvn foo bar
and that command takes another appropriate rule. Bonus points for readable rules -- no "s/^GET.*$/\x1b[31m&\x1b[0m/"
sed insanity.