1.0.5 • Published 5 years ago

sfdx-diff-pkg-generation v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

sfdc-git-package

Generate a package.xml and destructiveChangesPre.xml files from a git diff of two commits/branches

Getting Started

Works in Unix like system. Windows is not tested.

Prerequisites

Git command line is required on the system where the command line is running.

Installing

npm install -g sfdx-diff-pkg-generation

Usage

Command Line

$ sdpg -h

  Usage: sdpg [options]

  Create Package.xml and destructiveChangesPre.xml from git

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -t, --to [sha]               commit sha to where the diff is done [HEAD]
    -f, --from [sha]             commit sha from where the diff is done [git rev-list --max-parents=0 HEAD]
    -o, --output [dir]           package.xml specific output [./output]
    -a, --api-version [version]  salesforce API version [37.0]
    -r, --repo [dir]             git repository location [./repo]

Built With

  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • nodegit-kit - Complementary NodeGit helpers returning native Promises, helps with git commands such as init, add, commit, status, diff.
  • xmlbuilder - An XML builder for node.js similar to java-xmlbuilder.

Versioning

SemVer is used for versioning.

Authors

  • Drew Meyers - MODIFIED sfdc-generate-package to work with sfdx file structure
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago