A plugin for staging files.
npm install --save autogit-plugin-stage
This plugin uses the following options object:
{
files: ['-A'] // Files to stage
}
Add this plugin to a command:
const stage = require ( 'autogit-plugin-stage' );
module.exports = {
commands: {
'my-command': [
stage ({ /* YOUR OPTIONS */ })
]
}
}
MIT © Fabio Spampinato