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

Prerequisites

Using Homebrew

(In this case, you don’t need to install deno manually)

brew tap riiid/riiid
brew install pollapo

Install from source

# Clone pbkit repo
git clone git@github.com:riiid/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:

# Create pollapo config file
touch pollapo.yml

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

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