跳过内容

🚀 init

🚀 在 Capgo 云中使用步骤指导初始化一个新应用。

别名: i

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

这包括添加 code 更新、构建、上传应用和验证更新功能。 Capgo 包含的都是 Web 资产,可以通过 URL 被任何人获取。对于银行、监管或其他高安全应用,请使用加密。

示例:

终端窗口
npx @capgo/cli@latest init YOUR_API_KEY com.example.app
参数类型描述
-n,string应用程序名称(在Capgo Cloud中显示)
-i,string应用程序图标路径(在Capgo Cloud中显示)
--supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
—supa-anonstring自定义 Supabase 匿名密钥(用于自主托管)

继续从 init

继续从 init

如果您正在使用 init init 为了规划仪表板和API操作,连接它 API 简介 查看 API Overview Introduction 了解 Introduction 中的实现细节 API 键 为 API Keys 的实现细节 设备 为设备的实现细节 包 为包的实现细节