@klweb/cli
v1.0.2
Published
昆仑 Web 脚手架(KLWeb-CLI), 是快速生成基础框架源码的终端命令行工具
Downloads
7
Readme
@klweb/cli
昆仑 Web
脚手架(KLWeb-CLI),是快速生成基础框架源码的终端命令行工具。
快速创建项目
- 首先全局安装
KLWeb-CLI
(终端命令行工具)
npm install @klweb/cli -g
- 然后运行
cmd
或其它命令行界面,定位到你的目录位置,输入以下命令
klweb create
// 或
klweb c
- 接下来按命令提示向导式创建你的应用即可
? Project name: () // 项目名称,如:my-project
? Project description: () // 项目描述
? Author: () // 项目作者
// 是否集成第三方插件,非必选,可多选
? Check the plugins needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed)
>( ) KLWeb3D
( ) KLCloud3D
查看 cli 配置信息
klweb get config
指定源码包仓库地址
klweb set -h
klweb set [option] [repository url]