Skip to content

scolladon/sfdc-merge-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfdc-merge-package

Package.xml merger

Getting Started

Works in Unix like system. Windows is not tested.

Installing

npm install -g sfdc-merge-package

or

yarn globally add sfdc-merge-package

Usage

Command Line

$ smp -h

  Usage: smp [options]

  Merge package.xml

  Options:
    -V, --version              output the version number
    -p, --packages [paths...]  paths to the package.xml files (default: [])
    -o, --output [path]        path where to output the merged package.xml (default: "./package.xml")
    -h, --help                 display help for command

Example use:

smp -p ./package1.xml ./package2.xml -o ./combined-package.xml

Module

  var smp = require('sfdc-merge-package');

  smp({
    'packages':'./src/packages.xml' // path to the packages.xml
  }, console.log);

Built With

  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • extendify - Deep extend with customizable behavior.
  • xml2js - XML to JavaScript object converter.

Versioning

SemVer is used for versioning.

Authors

  • Sebastien Colladon - Initial work - scolladon

License

This project is licensed under the MIT License - see the LICENSE.md file for details