Crates.io | cc-cli |
lib.rs | cc-cli |
version | 0.1.5 |
source | src |
created_at | 2021-08-16 04:46:41.555679 |
updated_at | 2023-04-09 13:54:32.166857 |
description | handy git-hook and cli for conventional commits |
homepage | |
repository | https://github.com/sousandrei/cc-cli |
max_upload_size | |
id | 437655 |
size | 2,548,595 |
Conventional Commits hook and cli
Easy cli and git-hook to help with following the Conventional Commits specification
Heavily inspired by gitmoji-cli
using cargo
cargo install cc-cli
cc-cli --help
Usage: cc-cli [<positionals...>] [-i] [-r]
Easy peasy Conventional Commits
Options:
-i, --hook hooks your commits
-r, --unhook removes the hook
--help display usage information
You can install the git-hook using
NOTE: the hook is installed in a per-repository basis
cc-cli -i
Or use it via cli with no parameters
cc-cli
To remote the hook, simply type
cc-cli -r