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

sfdx-git-delta

Package Overview
Dependencies
Maintainers
1
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sfdx-git-delta

Generate the sfdx content in source format and destructive change from two git commits

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85K
increased by10.36%
Maintainers
1
Weekly downloads
 
Created
Source

NPM NPM HitCount

sfdx-git-delta Build Status Maintainability Test Coverage Known Vulnerabilities

Generate the sfdx content in source format and destructive change from two git commits

Getting Started npm version

Works in Unix like system. Windows is not tested.

Prerequisites

Git command line is required on the system where the command line is running.

Installing

npm install -g sfdx-git-delta

Usage

Command Line

$ sgd -h

  Usage: sgd [options]

  Create Package.xml and destructiveChangesPre.xml from git

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -t, --to [sha]               commit sha to where the diff is done [HEAD]
    -f, --from [sha]             commit sha from where the diff is done [git rev-list --max-parents=0 HEAD]
    -o, --output [dir]           source package specific output [./output]
    -a, --api-version [version]  salesforce API version [46.0]
    -r, --repo [dir]             git repository location [./repo]

Module

  var sgd = require('sfdx-git-delta');

  sgd({
    'to':'', // commit sha to where the diff is done. Default : HEAD
    'from':'', // commit sha from where the diff is done. Default : git rev-list --max-parents=0 HEAD
    'output':'', // source package specific output. Default : ./output
    'apiVersion':'', // salesforce API version. Default : 46
    'repo':'' // git repository location. Default : ./repo
  }, console.log);

Built With dependencies Status devDependencies Status

  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • xmlbuilder - An XML builder for node.js similar to java-xmlbuilder.
  • fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs().

Versioning

SemVer is used for versioning.

Authors Join the chat at https://gitter.im/scolladon/sfdx-git-delta

License

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

FAQs

Package last updated on 08 Oct 2019

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