1.0.9 • Published 11 months ago

generate-type-cli v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Generate-type-cli docs

Feature

  • Generate interface and type files based on proto files

Quick start

$ npm install -g generate-type-cli

$ generate-type-cli -d ./xxx.proto

Command args

Usage: proto2api [options]

Convert proto file to api file

Options:
Options:
  -V, --version             output the version number
  --debug                   Use in development mode, use ts-node to run the files under src
  -d, --dir <string>        proto directory or file, if it is a directory, file scanning will be performed, and all files under this directory will be compiled
  -o, --output <string>     输出路径(default: "./")
  --reqeustName <type>      Request name (default: "request")
  --reqeustPath <type>      Request path (default: "umi")
  --apiPrefix <string>      Api prefix path (default: "")
  --moitApiPrefix <string>  Omit api prefix path (default: "")
  -h, --help                Display help for command

Publish

$ make publish
1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago