kry001

1.0.0 • Public • Published

js-plugin-cli

A lightweight javascript plugin CLI.

Build Status Version MIT npm

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.

Package Sidebar

Install

npm i kry001

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

9.95 kB

Total Files

9

Last publish

Collaborators

  • lqh-kry