pa-rjs-cli
A simple CLI for requirejs projects.
Installation
$ npm install -g pa-rjs-cli
Usage
$ pa-rjs init <project-name>
Example:
$ pa-rjs init helloworld
The above command pulls the project from YANGKAI862/requirejsBuilt
, prompts for some information, and generate the project at './helloword/'.
Advanced feature
pa-rjs init <template-name> <project-name>
Example:
pa-rjs init PaicFE/vue-multi-demo helloworld
The above command will check the existence of PaicFE/vue-multi-demo
. If exists, it will download the repository from:
- GitLab -
owner/name
, PaicFE(owner), vue-multi-demo(name)