refactor(cloudcmd) readConfig