egg-init 知识点

时间:2021-02-17 19:21:52
Usage: egg-init [dir] --type=simple

Options:
--type boilerplate type [string]
--dir target directory [string]
--force, -f force to override directory [boolean]
--template local path to boilerplate [string]
--package boilerplate package name [string]
--registry, -r npm registry, support china/npm/custom, default to auto detect [string]
--silent don't ask, just use default value [boolean]
--version Show version number [boolean]
-h, --help Show help [boolean]
  • Create a simple type application
$ egg-init --type simple [dest]