0.1.3 • Published 10 months ago

auto-commit-cli v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

auto-commit-cli

Automatically commit and push changes using AI-generated commit messages.

NOTE: All files will be staged before the commit is made.

The Anthropic API is used to generate the commit message. Therefore, you will need to have an Anthropic API key.

Installation

npm install -g auto-commit-cli

Setting your Anthropic API key

### locally
export ANTHROPIC_API_KEY="xxx" # set your Anthropic API key

### in .zshrc or .bashrc
echo "export ANTHROPIC_API_KEY='xxx'" >> ~/.zshrc # or ~/.bashrc
source ~/.zshrc # or ~/.bashrc

Usage

auto-commit

Optional: Create an alias

echo "alias ac='auto-commit'" >> ~/.zshrc # or ~/.bashrc
source ~/.zshrc # or ~/.bashrc

ac
0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago