# hyfcli **Repository Path**: hyf120/hyfcli ## Basic Information - **Project Name**: hyfcli - **Description**: 一个项目开发cli - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-21 - **Last Updated**: 2026-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 使用说明 ### 安装 ```shell npm install hyfcli -g ``` ### 命令 ```shell hyfcli create [project-name] [template-name] # 创建项目初始化项目 如:hyfcli create my-project vue|react hyfcli addcpn [templateType] # 添加组件 如:hyfcli addcpn my-component react|vue 默认是vue hyfcli add-axios # 添加axios封装库,默认放到src/request中 如:hyfcli add-axios -d src/request hyfcli addrouter # 添加动态路由,默认放到src/router中 如:hyfcli addrouter -d src/router hyfcli addstore # 添加store配置,默认放到src/store中 如:hyfcli addstore -d src/store hyfcli addpage # 添加page,并且生成router,store, hyfcli --help # 查看帮助信息 ``` ### 参数说明 ```shell --d --dest 指定目录 ```