@lianjia-fe/bucky-cli
a node web server's cli
Last updated 2 years ago by schacker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lianjia-fe/bucky-cli 
SYNC missed versions from official npm registry.

Bucky's cli

Bucky 的业务使用脚手架

     __                __
    |  |--.--.--.----.|  |--.--.--.
    |  _  |  |  |  __||    <|  |  |
    |_____|_____|____||__|__|___  |
                            |_____|
    with ♥︎ by lianjia-fe

bucky 项目在这里 https://github.com/LianjiaTech/bucky-core

安装方式

如果没有可以使用

npm install @lianjia-fe/bucky-cli -g

初始化项目

 bucky new my_project -d xxx.lianjia.com

Options:

  • -h, --help
  • -d, --domain <domain> 项目上线域名 op 配置

项目内新建模块文件

 // 创建 action,默认路径 my_project/src/configs/actions/
 bucky action /my/path/here

 // 创建 api,默认路径 my_project/src/configs/apis
 bucky api myAPI

 // 创建 model,默认路径 my_project/src/configs/models
 bucky model MyModel

 // 创建 response,默认路径 my_project/src/configs/responses
 bucky response myResponse

 // 创建 service,默认路径 my_project/src/configs/services
 bucky service myServer
有问题随时联系 ljbucky@lianjia.com

Current Tags

  • 0.0.44                                ...           latest (2 years ago)

3 Versions

  • 0.0.44                                ...           2 years ago
  • 0.0.43                                ...           2 years ago
  • 0.0.42                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |