Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

Protobuf toolkit for modern web development
Go to Latest
File

pollapo

pollapo๋Š” Protobuf ์˜์กด์„ฑ ๊ด€๋ฆฌ ๋„๊ตฌ์ž…๋‹ˆ๋‹ค.

์„ค์น˜

์ „์ œ์กฐ๊ฑด

Homebrew๋กœ ์„ค์น˜ํ•˜๊ธฐ

(์ด๋ ‡๊ฒŒ ์„ค์น˜ํ•  ๊ฒฝ์šฐ deno๋Š” ์ง์ ‘ ์„ค์น˜ํ•  ํ•„์š” ์—†์Šต๋‹ˆ๋‹ค)

brew tap riiid/riiid
brew install pbkit

์ง์ ‘ ๋นŒ๋“œํ•˜๊ธฐ

# pbkit ์ €์žฅ์†Œ๋ฅผ ํด๋ก ๋ฐ›์Šต๋‹ˆ๋‹ค.
git clone git@github.com:riiid/pbkit.git

# pollapo ๋ช…๋ น์–ด๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.
deno install -n pollapo -A --unstable pbkit/cli/pollapo/entrypoint.ts

์‚ฌ์šฉ

๋กœ๊ทธ์ธ

pollapo๋Š” github api๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์ €์žฅ์†Œ๋ฅผ ๋‚ด๋ ค๋ฐ›์Šต๋‹ˆ๋‹ค.
์ธ์ฆ ์ •๋ณด๋ฅผ ์–ป์–ด์˜ค๊ธฐ ์œ„ํ•ด github ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ์„ ํ•ฉ๋‹ˆ๋‹ค.

pollapo login

์˜์กด์„ฑ ์„ค์น˜

์˜์กด์„ฑ์„ ์„ค์น˜ํ•˜๊ณ  ์‹ถ์€ ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

# ์›ํ•˜๋Š” ์˜์กด์„ฑ ์ถ”๊ฐ€
pollapo add riiid/interface-common-model riiid/interface-inside-model

# ์˜์กด์„ฑ ์„ค์น˜
pollapo install # ์ƒ์„ฑ๋œ `.pollapo` ๋””๋ ‰ํ† ๋ฆฌ ํ™•์ธ

์ž๋™ ์™„์„ฑ

Bash

source <(pollapo completions bash)

Fish

source (pollapo completions fish | psub)

Zsh

source <(pollapo completions zsh)