sfdc-generate-package
generate package.xml from source
Last updated 4 months ago by scolladon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sfdc-generate-package 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.9.0                                ...           latest (4 months ago)

21 Versions

  • 2.9.0                                ...           4 months ago
  • 2.8.2                                ...           8 months ago
  • 2.8.1                                ...           9 months ago
  • 2.8.0                                ...           a year ago
  • 2.7.2                                ...           a year ago
  • 2.7.1                                ...           a year ago
  • 2.7.0                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.2                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.2                                ...           3 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 21
This Month 21
Last Day 21
Last Week 1
Last Month 2
Dependencies (5)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |