# aries-cli **Repository Path**: akaedu2012/aries_cli ## Basic Information - **Project Name**: aries-cli - **Description**: 自己的脚手架工具,主要用于快速创建项目、组件、页面,会逐渐扩展 - **Primary Language**: NodeJS - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-01-22 - **Last Updated**: 2025-01-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # aries cli 一个提高前端开发者工作效率的cli ***安装:*** `npm install -g aries-cli` ## commands | 命令 | 说明 |例子| |---|---|---| |aries create `` [framework]| 创建一个项目到当前工作目录,支持的框架:react、vue,默认为react。[vue模版](https://gitee.com/fudaosheng/vue_project_template)、[react模版](https://gitee.com/fudaosheng/react_project_template) |`aries create my_demo`| |aries add `` [type]|创建一个组件到指定的目录(默认为`src/components`),type支持:fs(react函数式组件)、class(react class组件)、vue, destination 参考下面options说明|`aries add HelloWord`| |aries addPage `` [type]|创建一个页面到指定的目录(默认为src/pages),如目录不存在会创建目录,type如上,destination 参考下面options说明|`aries addPage Home`| ## options | 选项 | 说明 | |---|---| | -d, --destination | 目的文件夹路径 | ***运行`aries --help`查看更多信息***