Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 733 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 733 Bytes

sfdx-cpq-scripts-deployment

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.

How to use

Create new cpq plugin

Run in directory contained in sfdx-project:

sfdx cpq-scripts:generate

Deploy cpq script

Run:

sfdx cpq-scripts:deploy -s nameOfscript