项目工程初始化插件
模板地址: https://github.com/kinghoo5201/k-fe-template-component
,则使用 component
作为模板名来传入 fe init component
-
$ fe init
fe-cli-too会自动安装该插件
-
$ fe init
初始化项目(会有二次选择过程) -
$ fe init xxx
从 https://github.com/kinghoo5201/k-fe-template-xxx 初始化项目 -
$ fe init --git=git@github.com:xxxx.git
从具体的 git 地址中 clone 并初始化项目 -
$ fe init -s
静默模式,仅初始化目录文件
- IRIM_AUTHOR 作者
- IRIM_EMAIL 邮箱
- IRIM_PROJECT_NAME 项目名称(默认是当前的目录名称)
- IRIM_DESCRIPTION 项目描述
- IRIM_GMT_CREATE 创建时间 yyyy/mm/dd HH: MM 格式
- IRIM_GIT 项目repository.url