CLIFormatter: define some commonly useful rendering functions