# miniapps

## Description

* Remove one or more MiniApps from a given non-released native application version in a Cauldron &#x20;
* Generate and publish a new Container version—so that the native applications can use the new Container version to access the new MiniApp that was added &#x20;

  **Note** The `ern cauldron del miniapps <miniapps..>` command can remove (from the native application version container) all native dependencies that are only used by the removed MiniApps. The `ern cauldron del miniapps <miniapps..>` command does not do native dependency cleanup.

## Syntax

`ern cauldron del miniapps <miniapps..>`

**Arguments**

`<miniapps..>`

* One or more package path to MiniApp(s) (delimited by spaces) to remove from a native application version in the Cauldron.

**Options**

`--containerVersion/-v <version>`

* Specify a version for the new container &#x20;
* **Default**  Incremental patch number of the current container version &#x20;

  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. &#x20;

`--descriptor/-d <descriptor>`

* Remove the MiniApps from a given target native application version in the Cauldron matching the provided native application descriptor &#x20;
* You can only pass a complete native application descriptor as the native dependencies removed using this command target only a specific single native application version. &#x20;

  **Default**  Lists all non-released native application versions from the Cauldron and prompts you to choose one to remove from the MiniApps &#x20;

## Remarks

* You don't need to run the `ern cauldron del miniapps <miniapps..>` command from within a MiniApp working directory.   &#x20;
* You don't need to provide a version for the MiniApp when using the `ern cauldron del miniapps <miniapps..>` command. The version is ignored because only one version of a given MiniApp can be present in a container at any given time. &#x20;

## Related commands

\[ern cauldron del dependencies] | Manually cleanup native dependencies that are only used by the specified MiniApp

\[ern cauldron del dependencies]: ./dependencies.md
