salesforce-deploy-cli
v1.1.2
Published
CLI to deploy cartridges on a Salesforce Commerce Cloud instance
Downloads
21
Maintainers
Readme
Salesforce Deploy CLI
cartridges deploy made easy
CLI to deploy cartridges on a Salesforce Commerce Cloud instance.
Quick Overview
Installation
npm install -g salesforce-deploy-cli
Usage
Usage: salesforce-deploy [options]
Options:
--hostname, -h Hostname of the SFCC instance [required]
--username, -u Business Manager username for instance [required]
--password, -p Business Manager password for instance [required]
--cartridges, -c Paths to cartridges folder to deploy [array] [required]
--code-version, -v Name of the code version to deploy [required]
--force, -f Remove code version before deploy [default: false]
--help Show help [boolean]
--version Show version number [boolean]
Example - Deploy cartridges from a single folder
$ salesforce-deploy \
--hostname 'dev01-realm-customer.demandware.net' \
--username 'bm_user' \
--password 'bm_pass' \
--cartridges './cartridges/project_1' \
--code-version 'v1.0.0-rc.0'
Example - Deploy cartridges from multi folder
$ salesforce-deploy \
--hostname 'dev01-realm-customer.demandware.net' \
--username 'bm_user' \
--password 'bm_pass' \
--cartridges './cartridges/project_1' \
--cartridges './cartridges/project_2:**/{cart,checkout}/**' \
--cartridges './cartridges/project_3:**/{adyen}/**' \
--code-version 'v1.0.0-rc.0'
--force
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT. Copyright (C) 2019 Francesco Pasqua.