Warning! This plugin is in WIP stage and can fail on some occasions.
Unofficial plugin for custom cpq scrips management.
Custom cpq scripts managed by this plugin are stored in customCpqScripts directory in root folder of sfdx project (the one with sfdx-project.json). Each script has its own folder with:
- index.js containing actual script and
- package.json containing with configuration
Plugins generated by this plugin also have index.d.ts file contating typings for api models.
Run in directory contained in sfdx-project:
sfdx cpq-scripts:generate
Run:
sfdx cpq-scripts:deploy -s nameOfscript