Remove -command in CmdCommit and make -config use Json