Skip to content

handy git-hook and cli for conventional commits

License

Notifications You must be signed in to change notification settings

sousandrei/cc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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