Skip to content

artus-cli/examples

Repository files navigation

artus-cli examples

默认 demo

$ npx ts-node egg-bin/src/bin/cli.ts -h

继承 demo

继承 egg-bin 并且增添指令的 demo

$ npx ts-node chair-bin/src/bin/cli.ts -h

简单 demo

$ npx ts-node simple-bin/src/bin/cli.ts -h

单文件 demo

$ npx ts-node singlefile/bin.ts -h

指令覆盖 demo

用于验证指令覆盖

$ npx ts-node override-bin/src/bin/cli.ts -h

插件 demo

  • plugins/plugin-check-update 检查更新
  • plugins/plugin-codegen codegen 指令
  • plugins/plugin-codegen-extra 拓展 codegen 指令

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published