0.1.10 • Published 2 years ago
lieren v0.1.10
给每个人安排一个 12 格包包
Install
npm install lieren -g
or
git clone https://github.com/pixelhue/lieren.git
cd lieren && npm install
npm link
Usage
Open your terminal and type lieren -h
, you'll see the help infomation below:
Usage: lieren <command>
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
add add a new template
delete delete a template
list List the templateList
create create a project
lieren add
This command would help you to add a new template to the templates.json
, which will be used by lieren
to create projects.
$ lieren add
? 请输入模板名称 wxapp
? 请输入模板地址 https://******.git
√ Add a template successfully!
lieren delete
To delete a template, you could use this command:
$ lieren delete <template-name>
或者
支持多选删除
$ lieren delete
? 请选择要删除的模板
√ Deleted successfully!
lieren list
This command will shows you the templates list.
lieren create
You can create a templates use this command
lieren create [project-name] <template-name>
未输入 project-name 默认为 lieren-project
未输入 <template-name>
会进入单选需要安装的项目
lieren clear
You can clear templates list
lieren clear