コンテンツに進む

🔹 get-qr

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

ターミナル画面
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 をクリックするとアカウントにリンクされます
--バンドルstringバンドルの名前またはIDをプレビューする
—チャンネルstringチャンネル名またはIDをプレビュー
—タイプstring位置的ターゲットのタイプ
—pngstringcodeのプレビューQRをPNG画像として、指定されたファイルパスに書き込む
—urlbooleanプレビューURLのみを出力する(webとデープリンク)、codeのターミナルQRを含まない
—web-urlbooleancapgo://のデープリンクではなく、codeのQRとPNGにウェブプレビューURLをエンコードする
—プレビュー環境stringウェブURLプレビュー環境
—スーパーホストstringCustom Supabase host URL (for self-hosting or Capgo development)
—スーパーアノンstring自宅ホスト用のカスタムスーパーベースアノンキー