1.0.1 • Published 4 years ago

@lioloc/commit v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Get started

A cli to conveniently commit using the conventionalcommits.org specification

Installation

npm i -g @lioloc/commit

Usage

commit

Then follow prompts to complete your commit message.

Advanced Usage

Based on the conventionalcommits specification, a type, scope and message composes your commit message.

Consider the following commit message:

"feat(cart): Added remove item button"

  1. type = feat
  2. scope = cart
  3. message = Added remove item button

With that in mind, the following flags are available:

CommandDescription
-tConfirms you wish to add a type
-sConfirms you wish to add a scope (this will be ignored if --no-type flag is added)
-pConfirms you wish to push to origin branch
--no-typeConfirms you don't wish to add a type
--no-scopeConfirms you don't wish to add a scope (this will be ignored if no type is entered)
--no-pushConfirms you don't wish to push to origin branch
1.0.1

4 years ago

1.0.0

4 years ago