Coder Social home page Coder Social logo

sfdx-delta-package's Introduction

Create delta package.xml from between two branches of Github

Install

npm install -g sfdx-delta-package

Usage

sfdx-delta-package -sb develop -tb master

Options

  -V, --version                 output the version number
  -f, --file <type>             Delta file path
  -sb, --source-branch <type>   Source Branch of Git
  -tb, --target-branch <type>   Target Branch of Git
  -v, --package-version <type>  Package.xml version (default: "60.0")
  -o, --output-path <type>      Output path (default: "manifest/package.xml")
  -l, --local-git               Check changes in local git
  -display, --display-output    Display package.xml as an console output
  -d, --destructive-changes     To Create destructiveChanges.xml file for deleted files under destructive folder.
  -h, --help                    display help for command

Examples

  To get help:
    $ sfdx-delta-package --help
    $ sfdx-delta-package -h

  Generate package.xml with delta file:
    $ sfdx-delta-package -f file_path.txt

  Generate package.xml from source and target branch of GitHub:
    $ sfdx-delta-package -sb source_branch -tb target_branch
  
  Generate package.xml from source and target branch of GitHub with package.xml version as 57.0:
    $ sfdx-delta-package -sb source_branch -tb target_branch -v 57.0

  Generate package.xml from local source and target branch of Git branches:
    $ sfdx-delta-package -sb source_branch -tb target_branch -l

  Generate package.xml from delta file and store in different directory or folder:
    $ sfdx-delta-package -f file_path.txt -o main/profiles.xml
  
  Generate package.xml and destructiveChanges.xml for deleted files and store in destructive folder:
    $ sfdx-delta-package -sb source_branch -tb target_branch -v 60.0 -d

Note

We can update the metadata coverage using metadata.js file. For full support on Salesforce metadata use this metadata coverage report.

sfdx-delta-package's People

Contributors

gaurav-trivedi avatar

Watchers

James Cloos avatar  avatar

Forkers

trellixvulnteam

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.