1.0.8 • Published 4 years agoCLI
@codesuperman/project-generator
Licence
MIT
Version
1.0.8
Deps
10
Size
49 kB
Vulns
0
Weekly
0
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