fix(cli): detect existence before readJSON
update theme style, Close #1099
Merge pull request #1103 from spmjs/fix/record-error

fix(cli): detect existence before readJSON
fix(cli) add end line for each cli