๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐Ÿ”น 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

ํŒŒ๋ผ๋ฏธํ„ฐ์œ ํ˜•์„ค๋ช…
-astring๊ณ„์ •์— ์—ฐ๊ฒฐํ•  API ํ‚ค
โ€”bundlestring๋ฏธ๋ฆฌ ๋ณผ Bundle ์ด๋ฆ„ ๋˜๋Š” id
โ€”channelstring๋ฏธ๋ฆฌ ๋ณผ Channel ์ด๋ฆ„ ๋˜๋Š” id
โ€”typestringpositional target์˜ ์œ ํ˜•
โ€”pngstring๋ฏธ๋ฆฌ๋ณด๊ธฐ QR code๋ฅผ ์ง€์ •๋œ ํŒŒ์ผ ๊ฒฝ๋กœ์— PNG ์ด๋ฏธ์ง€๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค
โ€”urlbooleanํ„ฐ๋ฏธ๋„ QR code ์—†์ด ๋ฏธ๋ฆฌ๋ณด๊ธฐ URL(์›น ๋ฐ ๋”ฅ ๋งํฌ)๋งŒ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค
โ€”web-urlbooleancapgo:// ๋”ฅ ๋งํฌ ๋Œ€์‹  ์›น ๋ฏธ๋ฆฌ๋ณด๊ธฐ URL์„ QR code ๋ฐ PNG์— ์ธ์ฝ”๋”ฉํ•ฉ๋‹ˆ๋‹ค
โ€”preview-envstring๋ฏธ๋ฆฌ๋ณด๊ธฐ ์›น URL ํ™˜๊ฒฝ
โ€”supa-hoststring์ปค์Šคํ…€ Supabase ํ˜ธ์ŠคํŠธ URL (์…€ํ”„ ํ˜ธ์ŠคํŒ… ๋˜๋Š” Capgo ๊ฐœ๋ฐœ์šฉ)
โ€”supa-anonstring์ปค์Šคํ…€ Supabase anon key (์…€ํ”„ ํ˜ธ์ŠคํŒ…์šฉ)