move-qcp
Version:
Deploy CPQ Quote Calculator Plugin
92 lines • 2.65 kB
JSON
{
"version": "1.2.5",
"commands": {
"cpq:qcp:create": {
"id": "cpq:qcp:create",
"summary": "Create the QCP folder structure.",
"strict": true,
"pluginName": "move-qcp",
"pluginAlias": "move-qcp",
"pluginType": "core",
"aliases": [],
"hiddenAliases": [],
"examples": [
"Deploy QCP:\n<%= config.bin %> <%= command.id %> --outputdir <path> --qcpname <name>"
],
"flags": {
"json": {
"name": "json",
"type": "boolean",
"description": "Format output as json.",
"helpGroup": "GLOBAL",
"allowNo": false
},
"outputdir": {
"name": "outputdir",
"type": "option",
"char": "d",
"summary": "Directory path to store the QCP. Default is the current directory.",
"required": false,
"multiple": false,
"default": "./"
},
"name": {
"name": "name",
"type": "option",
"char": "n",
"summary": "The desired name for the custom script along with the folder name for its creation.",
"required": true,
"multiple": false
}
},
"args": {}
},
"cpq:qcp:deploy": {
"id": "cpq:qcp:deploy",
"summary": "Deploy the QCP to the target org.",
"strict": true,
"pluginName": "move-qcp",
"pluginAlias": "move-qcp",
"pluginType": "core",
"aliases": [],
"hiddenAliases": [],
"examples": [
"Deploy QCP:\n<%= config.bin %> <%= command.id %> --targetusername <username|alias> --pathmain <path> --qcpname <name>"
],
"flags": {
"json": {
"name": "json",
"type": "boolean",
"description": "Format output as json.",
"helpGroup": "GLOBAL",
"allowNo": false
},
"targetusername": {
"name": "targetusername",
"type": "option",
"char": "u",
"summary": "A username or alias for the target org.",
"required": true,
"multiple": false
},
"sourcedir": {
"name": "sourcedir",
"type": "option",
"char": "d",
"summary": "The path to the main file of the QCP.",
"required": true,
"multiple": false
},
"no-code-minification": {
"name": "no-code-minification",
"type": "boolean",
"char": "c",
"summary": "Deploy without code minification.",
"allowNo": false
}
},
"args": {},
"hasDynamicHelp": true
}
}
}