$ egg-init dest
? Please select a boilerplate type (Use arrow keys)
❯ simple - Simple egg app
plugin - egg plugin
Command
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]
Custom a boilerplate
We use npm package to manager boilerplate, you can follow this steps:
egg-init
Init egg app helper tools.
Install
Create a
simpletype applicationOr select a boilerplate by yourself
Command
Custom a boilerplate
We use npm package to manager boilerplate, you can follow this steps:
boilerplatediregg-init --template=PATHto checkindex.jscan define variables which can be useed on template, like{{name}}, but\{{name}}will ignore.npm scriptsat egg-boilerplate-simpleconfig.boilerplatepropertyLicense
MIT
Contributors
atian25
fengmk2
thonatos
dead-horse
popomore
killagu
whxaxes
jtyjty99999
edokeh
DanielWLam
Janlaywss
Runrioter
snyk-bot
WinjayYu
ShirasawaSama
supperchong
hyj1991
This project follows the git-contributor spec, auto updated at
Sat Nov 25 2023 23:06:04 GMT+0800.