sf-delta

1.0.0 • Public • Published

Overview

CLI Tool to generate Salesforce.com package.xml (and destructiveChange.xml) files based on git diff between two branches, commits, or tags.

Install

npm install -g sf-delta

Usage

$ sfdelta destinationBranch sourceBranch ./deploy/

This will create a package at ./deploy/sourceBranch/unpackaged/package.xml copying all files into directory.

If any deletes occurred will also create ./deploy/sourceBranch/destructive/destructiveChanges.xml

You can force a specific version for the package.xml with the -p flag

sfdelta destinationBranch sourceBranch -p 42 ./deploy/

You can also just write the package.xml and destructiveChanges.xml by passing the -d flag

sfdelta destinationBranch sourceBranch -d > ~/Desktop/packageAndDestructiveChanges.xml

You can also create "backout" content by reversing the order of the destination and source branches

sfdelta sourceBranch destinationBranch ./deploy/

/sf-delta/

    Package Sidebar

    Install

    npm i sf-delta

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    18.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • jayabalanj1983