🔹 get-qr
复制一个设置提示,包括安装步骤和此插件的完整 Markdown 指南。
🔳 打印一个终端 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
Get-qr选项
Get-qr选项| 参数 | 类型 | 描述 |
|---|---|---|
| -a | string | API账户关联密钥 |
| —bundle | string | 预览包名或ID |
| —channel | string | 预览频道名称或 ID |
| —type | string | 位置目标类型 |
| —png | string | 将预览 QR code 写入给定文件路径的 PNG 图像 |
| —url | boolean | 仅打印预览 URL(Web 和深度链接),而不打印终端 QR code |
| —web-url | boolean | 将 Web 预览 URL 编码到 QR code 和 PNG 中,而不是 capgo:// 深度链接 |
| —preview-env | string | 预览 Web URL 环境 |
| —supa-host | string | 自定义 Supabase 主机 URL (用于自主托管或 Capgo 开发) |
| —supa-anon | string | 自定义 Supabase 匿名密钥 (用于自主托管) |