@arohitu/revcloud-cml-cli
v1.0.0
Published
A CLI tool to automate the deployment of Salesforce Advanced Configurator (CML) configurations.
Maintainers
Readme
RevCloud CML Deployer CLI (rccml)
A powerful command-line interface (CLI) to automate the complex deployment of Salesforce Advanced Configurator (CML / ExpressionSet) configurations between orgs.
This tool handles the entire process of exporting a configuration and its deep-nested dependencies, transforming the data for a new org, and deploying it in an idempotent, transactional way.
Installation
To install the CLI globally, run the following command:
npm install -g @arohitu/revcloud-cml-cliUsage
The tool provides two main commands: retrieve and deploy.
Retrieve
Exports a complete snapshot of an ExpressionSet and all its dependencies from a source org.
rccml retrieve --name <ApiName> --target-org <source-org-alias>Deploy
Deploys the retrieved configuration to a target org, handling all ID mapping and relationship logic.
rccml deploy --name <ApiName> --target-org <destination-org-alias>Configuration
The tool can be configured using a cml/settings.json file in your project to specify which ExpressionSets to deploy in a CI/CD pipeline and to override default external ID fields.
