📢 Canal
📢 Manage distribution Canaux for Application Mises à jour in Capgo Cloud, controlling how Mises à jour are delivered to Appareils.
➕ Ajouter
Section titled “ ➕ Ajouter”Alias: a
npx @capgo/cli@latest channel add➕ Créer a Nouveau Canal for Application distribution in Capgo Cloud to manage Mise à jour delivery.
Example:
npx @capgo/cli@latest channel add production com.example.app --defaultOptions:
| Param | Type | Description |
|---|---|---|
| -d, | string | Set the Canal as default |
| —self-assign | boolean | Allow Appareil to self-assign to this Canal |
| -a, | string | Clé API to link to your Compte |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
🗑️ Supprimer
Section titled “ 🗑️ Supprimer”Alias: d
npx @capgo/cli@latest channel delete🗑️ Supprimer a Canal from Capgo Cloud, optionally removing associated Bundles to free up resources.
Example:
npx @capgo/cli@latest channel delete production com.example.appOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| —Supprimer-Bundle | boolean | Supprimer the Bundle associated with the Canal |
| —Succès-if-not-found | boolean | Succès if the Canal is not found |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
📋 List
Section titled “ 📋 List”Alias: l
npx @capgo/cli@latest channel list📋 List all Canaux configured for an Application in Capgo Cloud to review distribution Paramètres.
Example:
npx @capgo/cli@latest channel list com.example.appOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
📦 CurrentBundle
Section titled “ 📦 CurrentBundle”npx @capgo/cli@latest channel currentBundle📦 Get the current Bundle linked to a specific Canal in Capgo Cloud for Mise à jour tracking.
Example:
npx @capgo/cli@latest channel currentBundle production com.example.appOptions:
| Param | Type | Description |
|---|---|---|
| -c, | string | Canal to get the current Bundle from |
| -a, | string | Clé API to link to your Compte |
| —quiet | boolean | Only print the Bundle Version |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
⚙️ Set
Section titled “ ⚙️ Set”Alias: s
npx @capgo/cli@latest channel set⚙️ Configure Paramètres for a Canal, such as linking a Bundle, setting Mise à jour strategies (major, minor, metadata, patch, none), or Appareil targeting (iOS, Android, dev, emulator). One Canal must be default.
Example:
npx @capgo/cli@latest channel set production com.example.app --bundle 1.0.0 --state defaultOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| -b, | string | Bundle Version number of the file to set |
| -s, | string | Set the state of the Canal, default or normal |
| —latest-remote | boolean | Get the latest Bundle uploaded in capgo cloud and set it to the Canal |
| —latest | boolean | Get the latest Version key in the package.json to set it to the Canal |
| —downgrade | boolean | Allow to downgrade to Version under Natif one |
| —no-downgrade | boolean | Désactiver downgrade to Version under Natif one |
| —iOS | boolean | Allow sending Mise à jour to iOS Appareils |
| —no-iOS | boolean | Désactiver sending Mise à jour to iOS Appareils |
| —Android | boolean | Allow sending Mise à jour to Android Appareils |
| —no-Android | boolean | Désactiver sending Mise à jour to Android Appareils |
| —self-assign | boolean | Allow Appareil to self-assign to this Canal |
| —no-self-assign | boolean | Désactiver Appareils to self-assign to this Canal |
| —Désactiver-auto-Mise à jour | string | Block Mises à jour by type: major, minor, metadata, patch, or none (allows all) |
| —dev | boolean | Allow sending Mise à jour to Développement Appareils |
| —no-dev | boolean | Désactiver sending Mise à jour to Développement Appareils |
| —emulator | boolean | Allow sending Mise à jour to emulator Appareils |
| —no-emulator | boolean | Désactiver sending Mise à jour to emulator Appareils |
| —package-json | string | Paths to package.json files for monorepos (comma-separated) |
| —ignore-metadata-Vérifier | boolean | Ignore checking node_modules compatibility if present in the Bundle |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |