VT support for cmdmod  (review with care !)

cc @thatch45 
Another `output_loglevel` reference defaulting to info.