跳过内容

🚀 init

🚀在Capgo Cloud中初始化一个新应用,带有逐步指导.

别名: i

终端窗口
npx @capgo/cli@latest init

This includes adding code for updates, building, uploading your app, and verifying update functionality. Capgo bundles are web assets and can be fetched by anyone who knows the URL. Use encryption for banking, regulated, or other high-security apps.

__CAPGO_KEEP_1__ 包含了 Web 资产,任何知道 URL 的人都可以获取。对于银行、监管或其他高安全性应用,请使用加密。

示例:
npx @capgo/cli@latest init YOUR_API_KEY com.example.app

复制到剪贴板

选项
标题:选项参数类型
描述stringApp name for display in Capgo Cloud
应用程序名称(在 __CAPGO_KEEP_0__ 云中显示)stringApp icon path for display in Capgo Cloudflare
—supa-hoststring自定义 Supabase 主机 URL(用于自主托管或 Capgo 开发)
—supa-anonstring自定义 Supabase 匿名密钥(用于自主托管)

如果您正在使用 init 来规划仪表板和 API 运营,连接它与 API Overview 为 API Overview 中的实施细节 简介 简介中的实现细节 API 键 API 键中的实现细节 设备 设备中的实现细节 捆绑包 捆绑包中的实现细节