1.2.1 • Published 2 years ago
@skyfury/egg-ts-cli v1.2.1
Install
npm i @skyfury/egg-ts-cli -g
Use
Usage: index [options] <directories>
Options:
-V, --version output the version number
-D, --dest [type] destination dir (default: ".")
-h, --help display help for command
# Generate to current directory
egg-ts
# install package
npm install
## run package
npm run dev
# Generate to projectDir directory
egg-ts -D projectDir
cd projectDir
# install package
npm install
## run package
npm run dev