swap 'cmd_cls' and 'ch' arguments in cmd creation