GitXplorerGitXplorer
s

sfdc-generate-package

public
25 stars
23 forks
11 issues

Commits

List of commits on branch master.
Unverified
c576a3a941b702b3ce5bf90ba564c893bb6bbab1

Add Permission Set Group

committed 5 years ago
Verified
17f5f42c4bb98d3917be8d236db3e0681e9e1940

Merge pull request #37 from donpablom/metadata-psg

sscolladon committed 5 years ago
Unverified
e3d09754c05111adafddf58fab5b7069556f41ee

metadata-psg added missing metadata permission set group

AANCPawel committed 5 years ago
Verified
b7c5794a7db1e8211c9ee770441a5f151752e094

Merge pull request #34 from scolladon/dependabot/npm_and_yarn/npm-6.13.4

sscolladon committed 5 years ago
Verified
adcd30364b7ca792f1553ce39d59806787ea8a94

Bump npm from 6.0.1 to 6.13.4

ddependabot[bot] committed 5 years ago
Unverified
824fd8e05bcc3f2f981723a34cbc2e4efd7aa234

Upgrade to api version 47.0

sscolladon committed 5 years ago

README

The README file for this repository.

sfdc-generate-package

generate package.xml from source

Getting Started

Works in Windows and Unix like systems.

Installing

npm install -g sfdc-generate-package

or

yarn globally add sfdc-generate-package

Usage

Command Line

$ sgp -h

  Usage: sgp [options]

  generate package.xml from source

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -s, --src                    salesforce src directory path [./src]
    -a, --api-version            salesforce API version [40.0]
    -o, --output                 salesforce package.xml directory path [.]

Module

  var sgp = require('sfdc-generate-package');

  sgp({
    'src':'', // salesforce src directory path : ./src
    'apiVersion':'40.0', // salesforce API verion : 40.0
    'output':'', // salesforce src directory path : ./src
    'indent':'  ' // the number of space for the xml indentation (optionnal attibute)
  }, console.log);

Module

Add CLI parameters to build package.xml for only certain types

Built With

  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • xml2js - XML to JavaScript object converter.
  • directory-tree - Creates a JavaScript object representing a directory tree..
  • xml2js - Ever had the urge to parse XML? And wanted to access the data in some sane, easy way? Don't want to compile a C parser, for whatever reason? Then xml2js is what you're looking for!

Versioning

SemVer is used for versioning.

Authors

License

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