GitXplorerGitXplorer
s

sfdc-generate-package

public
25 stars
23 forks
11 issues

Commits

List of commits on branch master.
Unverified
22b915c668d3c8eb75b3ff8709424097c6295433

add navigationMenu and audience

sscolladon-sfdc committed 3 years ago
Verified
6a080a8f62a80cd0ad7f21411f557fc803b1286b

Merge pull request #42 from donpablom/apiUpdate

sscolladon committed 3 years ago
Unverified
28c96250f44e5bae41a13c6e787c7b17499f1841

resolved conflicts

ddonpablom committed 3 years ago
Unverified
8ad8e2849e39fe4498b25dbd5e57e842bf42602d

api update to 52

ddonpablom committed 3 years ago
Verified
13ebca2508676791ccc8779c32f613c4d43a935e

Merge pull request #39 from enriquedurango/patch-1

sscolladon committed 5 years ago
Verified
3738b3372def7a030002b2cc0d73e853c1cd087e

Updating maxApiVersion to 48.0

eenriquedurango 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