sf-toolkit
v1.1.5
Published
Some tools to help working with files on the salesforce
Maintainers
Readme
sf-toolkit
Some tools to help working with files on the salesforce
Install
npm i -g sf-toolkitList of tools
- Labels difference checker
- Label sorting tool
- Profile sorting tool
Labels difference checker
Usage
sf-toolkit -p dc {params}
sf-toolkit -p differenceChecker {params}
sftk-diff {params}Params
-in1 {val}- first filepath (default: file1.xml)-in2 {val}- second filepath (default: file2.xml)-o1 {val}- output name for correct labels (default: correct.xml)-o2 {val}- output name for labels missing in file1 (default: missingInA.xml)-o3 {val}- output name for labels missing in file2 (default: missingInB.xml)-o4 {val}- output name for mismatch label (default: incorrect.xml)
Examples
sf-toolkit -p dc -in1 org.xml -in2 repo.xml
sf-toolkit -p dc -in1 org.xml -in2 repo.xml -o1 ok.xml
sf-toolkit -p dc -in1 org.xml -in2 repo.xml -o2 notInOrg.xml -o3 notInRepo.xml
sftk-diff -in1 org.xml -in2 repo.xmlLabel sorting tool
Usage
sf-toolkit -p sortTool {params}
sf-toolkit -p st {params}
sf-toolkit -p sort {params}
sftk-sort {params}Params
-in {val}- input file (default: CustomLabels.labels-meta.xml)-out {val}- output file (default: CustomLabels.labels-meta.xml)
Examples
sf-toolkit -p st -in org.xml
sf-toolkit -p sortTool -in org.xml -out Labels.xml
sf-toolkit -p sort -in label.xml -out output.xml
sftk-sort -in org.xmlProfile sorting tool
Usage
sf-toolkit -p pst {params}
sftk-profilesort {params}Params
-in {val}- input file (default: Admin.profile-meta.xml)-out {val}- output file (default: Admin.profile-meta.xml)
Examples
sf-toolkit -p pst -in org.xml
sf-toolkit -p pst -in org.xml -out Labels.xml
sftk-profilesort -in label.xml -out output.xml
sftk-profilesort -in org.xmlLicence
MIT @ Patryk Bukowski
