cc-cli

Crates.iocc-cli
lib.rscc-cli
version0.1.5
sourcesrc
created_at2021-08-16 04:46:41.555679
updated_at2023-04-09 13:54:32.166857
descriptionhandy git-hook and cli for conventional commits
homepage
repositoryhttps://github.com/sousandrei/cc-cli
max_upload_size
id437655
size2,548,595
Andrei Sousa (sousandrei)

documentation

README

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
Commit count: 49

cargo fmt