New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

shoot-generator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shoot-generator

a api manager tool with Bandix

latest
Source
npmnpm
Version
0.0.9-jbangit
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 18 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts