๐Ÿ”ณ Lompat ke Konten

๐Ÿ”น get-qr

Cetak kode QR terminal code untuk pratinjau paket atau saluran.

Jendela terminal
npx @capgo/cli@latest get-qr

Preview must be enabled for the app. Examples: 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

Contoh: npx @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__@latest get-qr com.example.app โ€”bundle 1.2.3 npx @__CAPGO_KEEP_2__/__CAPGO_KEEP_3__@latest get-qr com.example.app โ€”bundle 123 npx @__CAPGO_KEEP_4__/__CAPGO_KEEP_5__@latest get-qr com.example.app โ€”channel production npx @__CAPGO_KEEP_6__/__CAPGO_KEEP_7__@latest get-qr com.example.app production โ€”type channel

Pilihan (Get-qr)
Bab yang berjudul โ€œ Pilihan (Get-qr)โ€ParameterJenis
DeskripsistringAPI key to link to your account
Kunci __CAPGO_KEEP_0__ untuk menghubungkan ke akun AndastringNama atau ID paket untuk melihat pratinjau
---saluranstringNama atau ID saluran untuk melihat pratinjau
---jenisstringJenis untuk target posisi
---pngstringTulis pratinjau QR code sebagai gambar PNG ke jalur file yang diberikan
---urlbooleanCetak URL pratinjau hanya (web dan tautan dalam), tanpa QR code terminal
---web-urlbooleanEnkripsi URL pratinjau web di dalam QR code dan PNG bukan capgo:// tautan dalam
---preview-envstringTampilan URL web lingkungan
โ€”supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
โ€”supa-anonstringKunci anon Supabase kustom (untuk penggunaan sendiri)