0.0.5 • Published 6 years ago
yargs-demo v0.0.5
Demo
refs: 1. yargs 2. ts docs 3. ejs
The very first Demo0
install 后在 YargsDemo 目录下运行 npm run demo0(即 node ./src/demo0/hello-yargs.js --kind=test --params=helloYargs),可得到输出
yargs output result >>> helloYargs
...
More complex Demo1
Demo1 是一个 ts 项目,需要被编译。因此根目录下存在 tsconfig 文件。
The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project. The tsconfig.json file specifies the root files and the compiler options required to compile the project.