Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.13 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.13 KB

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