3.5.6 • Published 3 months ago

cordova-multiconfig v3.5.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Note: as of 2024/02 this is project is no longer maintained but should keep working. I consider the tool as complete (it has been for some time now) and don't use cordova anymore.

cordova-multiconfig

Small tool to support using multiple cordova configs inside one repository.

Use-Cases:

  • different configs for beta releases
  • different configs for paid/free versions
  • ...

Install

  npm i -g cordova-multiconfig

Example usage

Create

  # creates a new cordova config 'config.beta.xml' based upon the current config.xml
  cordova-multiconfig --create beta

Activate

The current config.xml is backed up to be restored later. The specified config-file is renamed to 'config.xml' and will then be used by cordova.

  # activate the beta-config and backup the current config to be restored later
  cordova-multiconfig --activate beta

Deactivate

The current config.xml will be renamed to config.NAME.xml The config backup will be restored to config.xml and will then be used by cordova.

  # deactivate the beta-config and restore the config backup
  cordova-multiconfig --deactivate beta

Help

To get a usage description use:

  cordova-multiconfig --help

Options

All options are optional, use --help (-h) to get more information.

AliasArgumentDescription
-h--helpDisplay a usage guide
-v--versionDisplay the version of this package
-f--forceForce the execution of this command
-l--listList all config files
-c--createCreates a new config based upon the default
-a--activateActivate a config file
-d--deactivateDeactivate config and activate backed-up default config
3.5.6

3 months ago

3.5.5

4 months ago

3.5.4

4 months ago

3.5.3

4 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

2.0.0

9 months ago

3.4.0

7 months ago

3.2.2

7 months ago

3.3.0

7 months ago

3.2.1

8 months ago

3.1.2

8 months ago

3.2.0

8 months ago

3.1.1

8 months ago

3.0.2

9 months ago

3.1.0

9 months ago

3.0.1

9 months ago

3.5.2

5 months ago

3.5.1

6 months ago

3.4.2

6 months ago

3.2.4

7 months ago

3.5.0

6 months ago

3.4.1

7 months ago

3.2.3

7 months ago

3.0.0

9 months ago

0.1.2

10 months ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago