⚠️ Archived Repository: This project is no longer maintained and is kept here for archival purposes only. Please note that the code may be outdated and no longer functional.
cartridges deploy made easy
CLI to deploy cartridges on a Salesforce Commerce Cloud instance.
npm install -g salesforce-deploy-cli
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]
$ 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'
$ 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
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.
MIT. Copyright (C) 2019 Francesco Pasqua.