1.1.4 • Published 1 year ago

git-conventional-cli v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Git Conventional CLI

Version License npm dependents

npm.io


Features

  • Easy install
  • Follows the conventional commit guidelines
  • Pretty prints preview in color
  • Works globally or in your repository
  • List of untracked and modified files easly
  • Reset commit easly

CLI Usage

CLI Installation

NPMYarn
npm install --global git-conventional-cliyarn global add git-conventional-cli

CLI Quickstart

To quickstart runs above command and follow the instructions:

gcc

CLI Helper

gcc summary? description? [options?]

┌─────────────────────────────────────────────┐
│                                             │
│   🤖 Git Conventional Commit the easy way   │
│                                             │
└─────────────────────────────────────────────┘

Arguments:
  summary                      Summary of the current commit
  description                  Description of the current commit (Max-Length: 72 char)

Options:
  -V, --version                output the version number
  -s, --scope <value>          Scope of type commit
  -t, --type <value>           Conventional Type (choices: "feat", "fix", "style", "refactor", "test", "docs", "chore", "perf")
  -h, --help                   display help for command

Commands:
  log                          Log of last commits
  unt                          List of untracked files
  mod                          List of modified files
  rst <type> <hash-or-number>  Undo local changes to the repository using the reset comman | Possible types: h (hard), s (soft), m (mixed)

CLI Inline use

Inline example usage:

gcc -t "fix" -s "user" "this sumary of commit" "this a description of the commit"

Contributing

Contribute by opening a pull request. Also, if your pull request contains patches or new features, you must include relevant unit tests.

Maintainers