sherrie

The command line toolkit


Keywords
sherrie, toolkit, command, cli
License
MIT-feh
Install
npm install sherrie@0.0.9

Documentation

sherrie

###安装

npm install -g sherrie

###快速开始

第一步,创建项目
she install

需要按照提示输入:

  • project name(项目名)
  • FID(Fis 自动打包功能对应的产品线id,直接输入Enter表示不使用自动打包功能)
  • author(作者)

第二步,启动本地服务器

#启动服务器
she server start
#初始化服务器框架
she server init

第三步,发布本地测试代码

she releaseall

###命令列表

#查阅命令
she --help
#查阅命令配置项
she <command> --help
  • release 发布当前模块,详细:she release --help
  • server 本地server相关命令,详细:she server --help
  • releaseall 发布当前目录下所有模块代码,详细:she releaseall --help
  • install 创建项目,详细:she install --help
  • create 创建代码模块,详细:she create --help

###配置信息

每个模块的根目录下需要添加fis-conf.js文件作为模块的配置文件,详细的配置说明请参阅:http://fis.baidu.com/docs/api/fis-conf.html