コンテンツに進む

ページのオプションをコピー

🔳 ターミナルQRコードを出力します。 code のバンドルまたはチャンネルプレビュー用です。

ターミナルウィンドウ
npx @capgo/cli@latest get-qr

アプリのプレビュー機能が有効になっている必要があります。 例: 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 をクリックしてアカウントにリンク
--bundlestringバンドル名またはIDをプレビュー
--channelstringチャンネル名またはIDをプレビュー
--typestring位置指定のターゲット用のタイプ
—pngstringcodeのプレビューQRをPNG画像として指定されたファイルパスに書き込む
—urlbooleanターミナルQR codeを含まないウェブとディープリンクのプレビューURLのみを出力
—web-urlbooleancapgo://のディープリンクではなく、codeのウェブプレビューURLをQR codeとPNGにエンコード
—preview-envstringプレビュー用のウェブURL環境
—supa-hoststring自宅ホスティングまたはCapgo開発用のカスタムSupabaseホストURL
—supa-anonstringカスタム Supabase anon キー (自社ホスティング用)