🔹 get-qr
Salin prompt setup yang berisi langkah install dan panduan markdown lengkap untuk plugin ini.
🔳 Cetak QR terminal code untuk pratinjau bundle atau channel.
npx @capgo/cli@latest get-qrPratinjau harus diaktifkan untuk aplikasi tersebut. Contoh: 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
Opsi (Get-qr)
Bagian berjudul “Options (Get-qr)”| Parameter | Tipe | Deskripsi |
|---|---|---|
| -a | string | key API untuk menautkan ke akun Anda |
| —bundle | string | Nama atau ID bundle untuk preview |
| —channel | string | Nama atau ID channel untuk preview |
| —type | string | Tipe untuk target positional |
| —png | string | Tulis QR preview code sebagai gambar PNG ke path file yang diberikan |
| —url | boolean | Cetak hanya URL preview (web dan deep link), tanpa QR code di terminal |
| —web-url | boolean | Encode URL preview web ke dalam QR code dan PNG, alih-alih deep link capgo:// |
| —preview-env | string | Environment untuk URL preview web |
| —supa-host | string | URL host Supabase kustom (untuk self-hosting atau pengembangan Capgo) |
| —supa-anon | string | Anon key Supabase kustom (untuk self-hosting) |