Skip to content

🔹 get-qr

🔳 code をターミナルで表示します。

ターミナル画面
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

パラメータータイプ説明
-astringAPI のキーを使用してアカウントにリンク
—バンドルstringQRコードのプレビュー用にバンドル名またはIDを指定
—チャンネルstringチャンネル名またはIDを指定してQRコードのプレビュー
—タイプstring位置指定ターゲットのタイプを指定
—pngstringWrite the preview QR code as a PNG image to the given file path
—urlbooleanPrint preview URLs only (web and deep link), without a terminal QR code
—web-urlbooleanEncode the web preview URL in the QR code and PNG instead of the capgo:// deep link
—プレビュー環境stringWeb URL 環境のプレビュー
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
—supa-anonstring自宅サーバー用のカスタム Supabase anon キー