{"id":13668421,"url":"https://github.com/PreziosiRaffaele/move-qcp","last_synced_at":"2025-04-26T22:31:13.294Z","repository":{"id":167859123,"uuid":"636809634","full_name":"PreziosiRaffaele/move-qcp","owner":"PreziosiRaffaele","description":"A sf cli plugin to manage the Quote Calculator Plugin","archived":false,"fork":false,"pushed_at":"2023-08-27T15:32:47.000Z","size":939,"stargazers_count":8,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-06T03:45:34.680Z","etag":null,"topics":["cli","cpq","qcp","salesforce","sf"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PreziosiRaffaele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-05T17:42:15.000Z","updated_at":"2024-10-16T13:18:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddde6420-ea66-4bae-af78-8ff5dadbddb4","html_url":"https://github.com/PreziosiRaffaele/move-qcp","commit_stats":null,"previous_names":["preziosiraffaele/move-qcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreziosiRaffaele%2Fmove-qcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreziosiRaffaele%2Fmove-qcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreziosiRaffaele%2Fmove-qcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PreziosiRaffaele%2Fmove-qcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PreziosiRaffaele","download_url":"https://codeload.github.com/PreziosiRaffaele/move-qcp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224048718,"owners_count":17247074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cpq","qcp","salesforce","sf"],"created_at":"2024-08-02T08:00:34.005Z","updated_at":"2024-11-11T04:31:08.200Z","avatar_url":"https://github.com/PreziosiRaffaele.png","language":"TypeScript","funding_links":[],"categories":["Community supported plugins"],"sub_categories":[],"readme":"# move-qcp\n\nThe [Javascript Quote Calculator Plugin](https://developer.salesforce.com/docs/atlas.en-us.cpq_dev_plugins.meta/cpq_dev_plugins/cpq_dev_jsqcp_parent.htm) is useful to add extra functionality to the quote line editor in Salesforce CPQ.\n\nUnfortunately the code is stored as data within Salesforce, making it difficult to manage and track changes effectively.\n\nWith this plugin, you can now create a dedicated QCP folder within your repository and effortlessly deploy it to the target org.\n\nThis brings several benefits:\n\n1. **Versioning QCP Code:** Your code is securely stored, easily accessible, and conveniently managed alongside your other version-controlled assets. This ensures that you have complete control over your qcp code and can effectively track and review changes.\n2. **Automated Deployment:** The plugin automatically deploys the QCP to the target org, avoiding the need to manually copy and paste the code into Salesforce.\n3. **Modularization:** Take advantage of modularization by utilizing modules to split the QCP code into multiple files.\n4. **Code Minification:** The plugin automatically minifies the code before deploying it to the target org. This optimization step helps avoid reaching the maximum character limit of the textarea field.\n\n## Install\n\n```bash\nsf plugins install move-qcp\n```\n\n## Commands\n\n\u003c!-- commands --\u003e\n\n- [`sf cpq qcp create`](#sf-cpq-qcp-create)\n- [`sf cpq qcp deploy`](#sf-cpq-qcp-deploy)\n\n## `sf cpq qcp create`\n\nCreate the QCP folder structure.\n\n```\nUSAGE\n  $ sf cpq qcp create\n\nFLAGS\n  -n, --name=\u003cvalue\u003e [required] The desired name for the custom script along with the folder name for its creation.\n  -d, --outputdir=\u003cvalue\u003e Directory path to store the QCP [default: current directory].\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Create the QCP folder structure.\n\nEXAMPLES\n  sf cpq qcp create -n MyQCP\n```\n\n## `sf cpq qcp deploy`\n\nDeploy the QCP to the target org.\n\n```\nUSAGE\n  $ sf cpq qcp deploy\n\nFLAGS\n  -u, --targetusername=\u003cvalue\u003e  [required] A username or alias for the target org.\n  -d, --sourcedir=\u003cvalue\u003e [required] The directory path to the QCP.\n  -c, --no-code-minification  Deploy without code minification. [default: false]\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Deploy the QCP to the target org.\n\nEXAMPLES\n  sf cpq qcp deploy -u orgAlias -d ./qcp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPreziosiRaffaele%2Fmove-qcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPreziosiRaffaele%2Fmove-qcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPreziosiRaffaele%2Fmove-qcp/lists"}