Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sfdc-generate-package

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sfdc-generate-package

generate package.xml from source

  • 2.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
100
increased by6.38%
Maintainers
1
Weekly downloads
 
Created
Source

sfdc-generate-package

generate package.xml from source

Getting Started

Works in Unix like system. Windows is not tested.

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
    '40.0':'', // salesforce API verion : 40.0
    'src':'' // salesforce src directory path : ./src
  }, 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

  • Sebastien Colladon - Initial work - scolladon

License

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

FAQs

Package last updated on 30 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc