Skip to content

torisgzhang/create-front-end-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

create-front-end-cli

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.

About

前端脚手架

Resources

Stars

Watchers

Forks

Packages

No packages published