Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 626 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 626 Bytes

@night-peiqi/hero-cli

A simple CLI for scaffolding projects.

Installation

npm install -g @night-peiqi/hero-cli

Usage

hero <command> [options]

Commands

  • 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.

Help

You can use hero --help for detailed usage of given command.

License

MIT