fix(rest) DIR
refactor(commander) rm global.cloudcmd condition