0.0.5 • Published 6 years ago

yargs-demo v0.0.5

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
6 years ago

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

更多 yargs api 戳这里

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.

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago