A simple CLI for scaffolding projects.
npm install -g @night-peiqi/hero-cli
hero <command> [options]
-
create <project-name>
: Create a new project.-t --template [template]
: Input template name.-f --force
: Overwrite target directory if it exists.-i --ignore
: Ignore the template.json file.
-
ls
: List all the templates. -
-v, --version
: Check version number.
You can use hero --help
for detailed usage of given command.
MIT