shoot-generator

0.0.9-jbangit • Public • Published

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 

Readme

Keywords

none

Package Sidebar

Install

npm i shoot-generator

Weekly Downloads

0

Version

0.0.9-jbangit

License

MIT

Last publish

Collaborators

  • colmugx