1.0.0 • Published 4 years ago

js-plugin-cli v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Installation

$ npm i js-plugin-cli -g

Usage

Run the following command line to create the project:

$ js-plugin-cli init myproject

Parameter

init <PROJECT_NAME>

Create the JavaScript plugin project:

$ js-plugin-cli init myproject

upgrade

Check the new version is available or not:

$ js-plugin-cli upgrade

template

You can download or upgrade the template from mirror:

$ js-plugin-cli template

mirror <TEMPLATE_MIRROR>

You can also set the template mirror like this:

$ js-plugin-cli mirror https://zpfz.vercel.app/download/files/frontend/tpl/js-plugin-cli/

NOTE
You can customize the template mirror link by youself, but the template file name must be template.zip, and the mirror link should be / ending.
For example, the full link to your custom template mirror is https://example.com/mirror/template.zip, the mirror link that js-plugin-cli can recognize should be https://example.com/mirror/.

You can download the js-plugin-cli template from js-plugin-cli/tpl.