Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

mip-cli-plugin-foo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mip-cli-plugin-foo

mip 2.0 cli plugin

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

mip-cli-plugin-foo

mip2 cli 用户自定义命令插件 开发示例

├── cli
│   ├── foo
│   │   └── bar.js    // 子命令,mip2 foo bar
│   └── foo.js     // 主命令,mip2 foo
├── index.js
├── lib                 // 建议把业务逻辑写在 lib 目录
├── package.json
└── README.md

cli 目录是命令的入口,所有的命令都应该放在这里。 mip2 foo 会自动读取 cli/foo.js 对应的模块。同理: mip2 foo bar 会自动读取 cli/foo/bar.js 对应的模块。

FAQs

Package last updated on 21 Jun 2018

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