Coder Social home page Coder Social logo

sf-toolkit's Introduction

sf-toolkit

Some tools to help working with files on the salesforce

Install

npm i -g sf-toolkit

List of tools

  1. Labels difference checker
  2. Label sorting tool
  3. Profile sorting tool

Labels difference checker

Usage

sf-toolkit -p dc {params}
sf-toolkit -p differenceChecker {params}
sftk-diff {params}

Params

  1. -in1 {val} - first filepath (default: file1.xml)
  2. -in2 {val} - second filepath (default: file2.xml)
  3. -o1 {val} - output name for correct labels (default: correct.xml)
  4. -o2 {val} - output name for labels missing in file1 (default: missingInA.xml)
  5. -o3 {val} - output name for labels missing in file2 (default: missingInB.xml)
  6. -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.xml

Label sorting tool

Usage

sf-toolkit -p sortTool {params}
sf-toolkit -p st {params}
sf-toolkit -p sort {params}
sftk-sort {params}

Params

  1. -in {val} - input file (default: CustomLabels.labels-meta.xml)
  2. -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.xml

Profile sorting tool

Usage

sf-toolkit -p pst {params}
sftk-profilesort {params}

Params

  1. -in {val} - input file (default: Admin.profile-meta.xml)
  2. -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.xml

Licence

MIT @ Patryk Bukowski

sf-toolkit's People

Contributors

patrykbukowski avatar

Watchers

 avatar

sf-toolkit's Issues

Atomatic delta

Extention for sfdx sgd:source:delta that will automatically remove the old delta and create a new one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.