autogit-plugin-summary
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

Autogit Plugin - Summary

A plugin for displaying a summary of all the changes in the working tree.

It works great in combination with autogit-plugin-confirmation. Together they allow you to check all the changes manually before performing importat work like committing or publishing.

Install

npm install --save autogit-plugin-summary

Usage

Options

This plugin uses the following options object:

{
  onlyStaged: true, // Only show changes regarding staged files
  diff: true, // Show the diff of modified files
  content: true // Show the content of new files
}

Configuration

Add this plugin to a command:

const summary = require ( 'autogit-plugin-summary' );

module.exports = {
  commands: {
    'my-command': [
      summary ({ /* YOUR OPTIONS */ })
    ]
  }
}

License

MIT © Fabio Spampinato

Readme

Keywords

Package Sidebar

Install

npm i autogit-plugin-summary

Weekly Downloads

0

Version

1.2.2

License

MIT

Unpacked Size

37.5 kB

Total Files

20

Last publish

Collaborators

  • fabiospampinato