gj-cli
v1.0.3
Published
基于vite,tailwind构建的cli工具,支持vue3.x,react17。 1.npm install gj-cli -g, 2.gj-cli create <project-name>
Downloads
2
Readme
GJ-cli
1.必备模块
commander: 命令行解析参数,
--help
其实就是借助了它,文档:https://github.com/tj/commander.js/blob/HEAD/Readme_zh-CN.mdinquirer: 交互式命令行工具,它提供命令行选择功能
download-git-repo: git 中下载模板
chalk: 粉笔帮我们在控制台画出各种各样的颜色
metalsmith: 读取所有文件,实现模板渲染
consolidate: 统一模板引擎