{"repo":"cococonscious/koji","free":true,"listed":false,"github":"https://github.com/cococonscious/koji","clone":"git clone https://github.com/cococonscious/koji.git","description":"🦊 An interactive CLI for creating conventional commits.","language":"Rust","stars":462,"topics":["git","cli","developer-tools","conventional-commits","rust","rust-cli","semver"],"license":"MIT","category":"cli-tools","readme_excerpt":"🦊 koji An interactive CLI for creating conventional commits, built on cocogitto and inspired by cz-cli. Features - Create conventional commits with ease - Use alongside cocogitto for automatic versioning, changelog generation, and more - Use emoji 👋 (or, shortcodes) - Autocomplete for commit scope - Run as a git hook - Custom commit types Installation Homebrew Community-maintained Arch Linux (AUR) Community-maintained Nix Community-maintained webi cargo Be sure to have git installed first. Usage The basic way to use koji is as a replacement for git commit , enforcing the conventional commit standard by writing your commit through an interactive prompt. See koji --help for more options. Use koji completions to generate completion scripts for your shell. Using as a git hook An alternative way to use koji is as a git hook, running it any time you run git commit . Manually Update .git/hooks/prepare-commit-msg with the following code: husky prek / pre-commit Add the prepare-commit-msg hook type and the koji hook to .pre-commit-config.yaml : Similar should work for any hook runner, just make sure you're using it with the prepare-commit-msg hook. When using it as a hook, any message passed to git commit -m will be used for the commit summary. Writing your commit as a conventional commit, e.g. git commit -m \"feat(space): delete some stars\" , will bypass koji altogether. Configuration Config values are prioritized in the following order: - Passed in as arguments (see: koji --help ) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cococonscious","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cococonscious/koji/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}