shoot-generator
a api manager tool with Bandix
Last updated 3 months ago by colmugx .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install shoot-generator 
SYNC missed versions from official npm registry.

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
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |