Protobuf schema compiler
For more information, check with the --help
argument.
pb gen json
- It reads protobuf schema files and outputs the contents interpreted by pbkit as a JSON string.
pb gen ts
- It reads the protobuf schema files and creates a TypeScript library.
pb vendor install
- Install the default protobuf files and googleapis proto files globally.
brew tap pbkit/tap
brew install pbkit
Prerequisites
# Clone pbkit repo
git clone [email protected]:pbkit/pbkit.git
# Install pollapo command
deno install -n pb -A --unstable pbkit/cli/pb/entrypoint.ts