๐น get-qr
์ด ํ๋ฌ๊ทธ์ธ์ ์ค์น ๋จ๊ณ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๊ฐ ํฌํจ๋ ์ค์ ํ๋กฌํํธ๋ฅผ ๋ณต์ฌํ์ธ์.
๐ณ ๋ฒ๋ค ๋๋ ์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ์ฉ ํฐ๋ฏธ๋ QR code์ ์ถ๋ ฅํฉ๋๋ค.
npx @capgo/cli@latest get-qr์ฑ์์ Preview๊ฐ ํ์ฑํ๋์ด ์์ด์ผ ํฉ๋๋ค. ์์: npx @capgo/cli@latest get-qr com.example.app โbundle 1.2.3 npx @capgo/cli@latest get-qr com.example.app โbundle 123 npx @capgo/cli@latest get-qr com.example.app โchannel production npx @capgo/cli@latest get-qr com.example.app production โtype channel
์ต์ (Get-qr)
โOptions (Get-qr)โ ์น์ | ํ๋ผ๋ฏธํฐ | ์ ํ | ์ค๋ช |
|---|---|---|
| -a | string | ๊ณ์ ์ ์ฐ๊ฒฐํ API ํค |
| โbundle | string | ๋ฏธ๋ฆฌ ๋ณผ Bundle ์ด๋ฆ ๋๋ id |
| โchannel | string | ๋ฏธ๋ฆฌ ๋ณผ Channel ์ด๋ฆ ๋๋ id |
| โtype | string | positional target์ ์ ํ |
| โpng | string | ๋ฏธ๋ฆฌ๋ณด๊ธฐ QR code๋ฅผ ์ง์ ๋ ํ์ผ ๊ฒฝ๋ก์ PNG ์ด๋ฏธ์ง๋ก ์ ์ฅํฉ๋๋ค |
| โurl | boolean | ํฐ๋ฏธ๋ QR code ์์ด ๋ฏธ๋ฆฌ๋ณด๊ธฐ URL(์น ๋ฐ ๋ฅ ๋งํฌ)๋ง ์ถ๋ ฅํฉ๋๋ค |
| โweb-url | boolean | capgo:// ๋ฅ ๋งํฌ ๋์ ์น ๋ฏธ๋ฆฌ๋ณด๊ธฐ URL์ QR code ๋ฐ PNG์ ์ธ์ฝ๋ฉํฉ๋๋ค |
| โpreview-env | string | ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์น URL ํ๊ฒฝ |
| โsupa-host | string | ์ปค์คํ Supabase ํธ์คํธ URL (์ ํ ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์ฉ) |
| โsupa-anon | string | ์ปค์คํ Supabase anon key (์ ํ ํธ์คํ ์ฉ) |