0.0.9-jbangit • Published 7 years ago

shoot-generator v0.0.9-jbangit

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

shoot-generator

NPM

自用偷懒工具,搭配Bandix使用(但是现在没有)

npm install -g shoot-generator
  Usage: shoot <command>


  Commands:

    init   init your ApiManaer (with Bandix or vue program).
    keep   Keep Shoot! press "exit" and stop!

  Shoot your API in Manager! Also with Bandix! NOW HERE WE GO!

  Options:

    -h, --help        output usage information
    -V, --version     output the version number
    -a, --add <file>  Add a api file into api folder.
    -i, --import      import a api json into Manager.

通过shoot init初始化

shoot init

通过shoot keep持续输入要生成的请求方法

shoot keep

# > <url> <name> <path> <method> <data>
# 按顺序输入

通过shoot -a添加api模块文件

shoot -a <file>
# shoot -a defaultApi.js
0.0.9-jbangit

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago