0.1.7 • Published 2 years ago

m-fe-plugin-init v0.1.7

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
2 years ago

项目工程初始化插件

模板地址: https://github.com/Spongebobo/m-fe-template-component ,则使用 component 作为模板名来传入 fe init component

Getting Started

  • $ fe init fe-cli-tool 会自动安装该插件

使用

  • $ fe init 初始化项目(会有二次选择过程)
  • $ fe init xxxhttps://github.com/Spongebobo/m-fe-template-xxx 初始化项目
  • $ fe init --git=git@github.com:xxxx.git 从具体的 git 地址中 clone 并初始化项目
  • $ fe init -s 静默模式,仅初始化目录文件

API

模板预留坑位字符串

  • IRIM_AUTHOR 作者
  • IRIM_EMAIL 邮箱
  • IRIM_PROJECT_NAME 项目名称(默认是当前的目录名称)
  • IRIM_DESCRIPTION 项目描述
  • IRIM_GMT_CREATE 创建时间 yyyy/mm/dd HH: MM 格式
  • IRIM_GIT 项目repository.url