cli cfg: Convert runtime macros in command line

Refs #5929
cli cfg: Extract contact{,_groups} and convert to notifications (wip)

Refs #5929