autogit-command-readme-autocommit
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Autogit Command - Readme Autocommit

A command for autocommitting changes to the readme.

Install

npm install --save autogit-command-readme-autocommit

Usage

Options

This command uses the following options object:

{
  remote: 'origin', // The remote to push to
  branch: '' // The branch to push to, if not set the current branch will be used
  message: 'Readme: update', // Commit message
  paths: ['README.md', 'Readme.md', 'readme.md', 'README', 'Readme', 'readme'] // When these paths change a commit will be made
}

Configuration

Add this command to your configuration:

const readmeAutocommit = require ( 'autogit-command-readme-autocommit' );
 
module.exports = {
  commands: {
    'readme-autocommit': readmeAutocommit 
  }
}

CLI

Call it from the CLI with:

autogit readme-autocommit

License

MIT © Fabio Spampinato

Dependents (0)

Package Sidebar

Install

npm i autogit-command-readme-autocommit

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

7.13 kB

Total Files

8

Last publish

Collaborators

  • fabiospampinato