Yete CLI 是一个命令行工具,用于创建、编译、运行、调试 Yete 项目。
基本命令
yete --version # 显示版本信息
yete --help # 显示帮助信息
yete init [project-name] # 创建项目
yete build # 构建项目
yete serve # 运行开发服务器
详细说明
init
yete init [project-name]
创建一个项目。
参数:
project-name项目名,默认为当前目录名
选项:
--force当目录存在时会主动覆盖
build
yete build
构建项目。
serve
yete serve
运行开发服务器。