Socket
Book a DemoInstallSign in
Socket

mip-cli-plugin-template

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-template

template project for mip 2.0 cli plugin

1.0.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

mip-cli-plugin-template

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

├── cli
│   ├── template
│   │   └── start.js    // 子命令,mip2 template start
│   └── template.js     // 主命令,mip2 template
├── 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 20 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.