git-conventional-cli
v1.1.4
Published
A fast cli for conventional commits
Downloads
2
Maintainers
Readme
Git Conventional CLI
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
| NPM | Yarn | | ---------------------------------------------------- | ----------------------------------------------- | | npm install --global git-conventional-cli | yarn 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.