@huolala-tech/nad-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

nad-cli · LICENSE codecov

A CLI tool, can generate client code from an API service that has installed and enabled the nad-java-sdk.

Include

yarn add @huolala-tech/nad-cli -D

or

npm install @huolala-tech/nad-cli --save-dev

Usage

Usage: nad [Options] <URL>
       nad --config <Path>
       nad -c <Path>

Example: nad http://localhost:8080
         nad -t oc http://localhost:8080

Options:
  -t, --target <target>     Specify the output file format ("ts", "oc", "raw"), defaults to "ts".
  -o, --output <path>       Specify the output file path, defaults to stdout.
  -c, --config <path>       Path to configuration file. If specified, all other arguments will be ignored.
  -h, --help                Display this help message.

Readme

Keywords

none

Package Sidebar

Install

npm i @huolala-tech/nad-cli

Weekly Downloads

20

Version

1.0.4

License

MIT

Unpacked Size

61.4 kB

Total Files

31

Last publish

Collaborators

  • qikang.yuan
  • huolala-fe
  • zhiyang-deng
  • wangdashuai
  • blucass
  • yanagieiichi