Skip to content

Latest commit

 

History

History

pb

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

pb

Protobuf schema compiler

Commands

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.

How to install

Using Homebrew

brew tap riiid/riiid
brew install pbkit

Install from source

Prerequisites

# Clone pbkit repo
git clone git@github.com:pbkit/pbkit.git

# Install pollapo command
deno install -n pb -A --unstable pbkit/cli/pb/entrypoint.ts