#conventional-commits #git-commit #commit #conventional

app cc-cli

handy git-hook and cli for conventional commits

5 releases

0.1.5 Apr 9, 2023
0.1.3 Sep 17, 2022
0.1.2 Nov 29, 2021
0.1.1 Aug 16, 2021
0.1.0 Aug 16, 2021

#10 in #conventional

Custom license

2.5MB
197 lines

cc-cli

Conventional Commits hook and cli

Build Status crates.io version

About

Easy cli and git-hook to help with following the Conventional Commits specification

Heavily inspired by gitmoji-cli

Install

using cargo

cargo install cc-cli

Usage

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

Dependencies

~4–12MB
~131K SLoC