Skip to main content
Module

x/pbkit/cli/pollapo/docs/en/getting-started.md

Protobuf toolkit for modern web development
Go to Latest
File

pollapo

Protobuf dependency management tool.

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 pollapo -A --unstable pbkit/cli/pollapo/entrypoint.ts

Usage

Login

Pollapo downloads repositories using the GitHub api.
Sign in with GitHub account to get authentication information.

pollapo login

Install dependencies

Run the command as below in where you want to install the dependencies:

# Add dependencies
pollapo add riiid/interface-common-model riiid/interface-inside-model

# Install dependencies
pollapo install # Check the created `.pollapo` directory

Auto completion

Bash

source <(pollapo completions bash)

Fish

source (pollapo completions fish | psub)

Zsh

source <(pollapo completions zsh)