@stephansama/ai-commit-msg
v1.0.8
Published
generate commit messages using ai
Downloads
864
Maintainers
Readme
@stephansama / ai-commit-msg
generate commit messages using ai
Table of contents
Installation
pnpm install @stephansama/ai-commit-msgCLI Options
| Option | Alias | Description | Type |
| :---------- | :---- | :------------------------- | :-------- |
| --config | -c | Path to config file | string |
| --output | -o | Output file for commit-msg | string |
| --verbose | -v | Enable verbose logging | boolean |
Usage
Husky
Install and initialize husky
npm install --save-dev husky && npx husky initcreate the
prepare-commit-msghook by creating a file located at.husky/prepare-commit-msg#!/bin/sh ai-commit-msg -o "$1"
