UNPKG

build_salesforce_package

Version:

Build Saleforce Package to be deployed using git diff

66 lines (47 loc) 1.36 kB
# Build Salesforce Package (Digital Deer) >CLI library to build packages (based on a git Repo) and then deploy them in Salesforce ## Install ```bash sudo npm install build_salesforce_package --global ``` ## Help Create a profile | Options | Description | | ------ | ------ | | -k |Encryption key| | -apiV |Api version (default 39)| | -z |Zip| ```bash build_salesforce_package settings profileName name@example.com password login.salesforce.com -k 1234 ``` List profiles ```bash build_salesforce_package list ``` Remove profile ```bash build_salesforce_package remove profileName ``` Build package (Based on a git branch) | Options | Description | | ------ | ------ | | -z |Zip the package| | -apiV |Api version (default 39)| | -t |Target (to make a diff between 2 branches)| |-p|Path to the src (default src/)| |-k|Encryption key if used in the profile| ```bash build_salesforce_package build name origin/fullsdbx --zip ``` Build package (Based on a diff of 2 branchs) ```bash build_salesforce_package build profileName origin/fullsdbx -t origin/master --zip ``` ## Usage # Example (Need to be in the git repo) ```bash $ build_salesforce_package settings profileName name@example.com password login.salesforce.com -k 1234 $ build_salesforce_package build profileName origin/fullsdbx --zip -k 1234 ``` ## License [MIT](http://vjpr.mit-license.org)