0.6.0 • Published 2 years ago
order-cli v0.6.0
Installation
$ npm i order-cli -g
Usage
Run the following command line to create the project:
$ order-cli init myproject
Parameter
init <PROJECT_NAME>
Create the order project:
$ order-cli init myproject
upgrade
Check the new version is available or not:
$ order-cli upgrade
template
You can download or upgrade the template from mirror:
$ order-cli template
mirror <TEMPLATE_MIRROR>
You can also set the template mirror like this:
$ order-cli mirror https://registry.npm.taobao.org/
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 order-cli can recognize should be https://example.com/mirror/
.