commands: add generic CtrlPHg dispatcher