Electrode Native
v0.20
v0.20
  • Introduction
  • INTRODUCTION
    • Overview
      • What is Electrode Native
      • Why use Electrode Native
      • What is a MiniApp
      • Electrode Native workflow
      • Native dependencies management
      • JS/Native communication
      • Requirements
      • Upgrading Electrode Native
      • Contributing
  • QUICK START
    • Building a Movie application
  • REFERENCE
    • Container
      • Publication
      • Import in mobile application
      • Initialization
      • Launching MiniApps
    • Cauldron
      • Setup
      • Document structure
      • Compatibility checks
    • Manifest
      • Override
      • Reusing Native Modules
      • Configurable Modules
    • Runner
      • Multi MiniApps support
    • APIs
      • API project
      • Implementation
      • Versioning
      • Guidelines
    • Bridge
      • Message types
      • Communication
      • APIs leveraging
    • CLI
      • Global client
      • Local client
    • GLOSSARY
  • CLI COMMANDS
    • add
    • binarystore
      • add
      • get
      • remove
    • code-push
      • patch
      • release
      • promote
    • compat-check
    • create-api-impl
    • create-api
    • create-container
    • publish-container
    • create-miniapp
    • link
    • regen-api
    • regen-api-impl
    • run-android
    • run-ios
    • start
    • unlink
    • upgrade-miniapp
    • why
    • cauldron add
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
      • publisher
    • cauldron del
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron get
      • config
      • dependency
      • nativeapp
    • cauldron repo
      • add
      • clear
      • current
      • list
      • remove
      • use
    • cauldron update
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron batch
    • cauldron regen-container
    • cauldron upgrade
    • platform
      • plugins
        • list
        • search
      • config
      • current
      • install
      • list
      • uninstall
      • use
Powered by GitBook
On this page
  • Description
  • Syntax
  • Remarks
  1. CLI COMMANDS

cauldron regen-container

Description

Triggers the regeneration of a Container from the Cauldron.

Syntax

ern cauldron regen-container

Options

-v/--containerVersion <version>

  • Specify the version of the new container.

  • Default Increment patch number of the current container version

    Example: If the current container version is 1.2.3 and a version is not included in the command, the new container version will be 1.2.4.

  • You can only use a version that is greater than the current version of the Container.

-d/--descriptor <descriptor>

  • The target native application version in the Cauldron (in the form of a complete native application descriptor) for which to regenerate the Container.

    Default Lists all non-released native application versions from the Cauldron and prompts you to choose one.

    Example ern cauldron regen-api -d MyNativeApp:android:1.0.0

--force/-f

  • Bypass compatibility checks and force update native dependencies versions.

    Caution Before using the --force/-f option, be sure that you can bypass compatibility checks.

Remarks

  • The [ern create-container] command can also generate a container given a complete native application descriptor. But the [ern create-container] will only create the Container locally and not update the Cauldron or publish the new version.

  • This command should only be used if you need to regenerate a Container for a native application version, without adding/removing/updating any MiniApp or native dependencies (very limited use case)

[ern create-container]: ../create-container.md

Previouscauldron batchNextcauldron upgrade

Last updated 6 years ago