protoc-gen-tsi

module
v0.0.0-...-1b4415c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: MIT

README

protoc-gen-tsi

Generate TypeScript Interface from Protocol Buffers.

Build

go build plugin/src/protoc-gen-tsi.go

Usage

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="./output" input1.proto input2.proto inputN.proto

Generate interface only.

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="client=false:./output" input1.proto input2.proto inputN.proto

Unuse optional.

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="nonull=true:./output" input1.proto input2.proto inputN.proto

License

MIT

Directories

Path Synopsis
plugin
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL