1.0.8 • Published 3 years ago

@codesuperman/project-generator v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

project-generator

generate js/ts project by simple command.

usage

npm i @codesuperman/project-generator -g

or

yarn add @codesuperman/project-generator -g
  • generate ts project: pg g test-project -o
  • generate js project: pg g test-project -o -t js
  • generate configuration in the existing project: pg g test-project -oc (Note: execute this command in the root directory of the target project)

Options

Usage: project-generator generate|g [options] <project-name>

Initialize a new ts/js project.

Arguments:
  project-name           The name of the entire project.

Options:
  -t, --template [type]  Add the specified template type for project. (default: "ts")
  -o, --overwrite        Overwrite exist file. (default: false)
  -oc, --only-config     Only configuration files are generated (default: false)
  -h, --help             display help for command