A commons package for grpc in typescript.
A script to generate proto models from one or multiple proto files. Usage:
"scripts": {
"proto:gen": "npx eol-protogen --model ./src/models --proto ./proto-internal --service services.draft.drafts services.draft.lotteries",
}
Argument | Short | Description | Default | Required |
---|---|---|---|---|
--model <path> | -m | Model path | ./src/models | false |
--proto <path> | -p | Proto path | ./proto-internal | false |
--service <...name> | -s | Service names | true |
.proto ending will be appended to each service name.