/node-cli

node-cli 脚手架

Primary LanguageJavaScript

CLI 脚手架

如何使用

$ npm install boqii-cli -g
$ boqii-cli init
开始你的表演

依赖的库

  • inquirer
  • commander(获取命令行参数)
  • chalk 终端颜色
  • download-git-repo
  • handbars 模板
  • 对文件操作我选择了 fs-extra 这个库

模板文件暂不开放

git push 时候报错 Error: Permission to user/repo denied to user/other-repo

解决方案:

参考: https://stackoverflow.com/questions/5335197/gits-famous-error-permission-to-git-denied-to-user

Here is what I did: Open "Keychain Access" (You can find it in Spotlight or LaunchPad)

Select "All items" in Category

Search "git"

Delete every old & strange item

Try to Push again and it just WORKED