1.1.0 • Published 2 years ago
commit-chad v1.1.0
Commit Chad
Introduction
Commit Chad is a command-line tool built with zx that leverages the Google Gemini AI API to perform automatically commit message generation with your staged changes.
Installation
- First, get a Google Gemini API key for free here. Alternatively, you can use the OpenAI API as well. Get an API key for free here.
- Next, set the
GEMINI_API_KEYorOPENAI_API_KEYenvironment variable to your API key:
export GEMINI_API_KEY=<your-api-key>
# or
export OPENAI_API_KEY=<your-api-key>- Finally, install the
commit-chadcommand usingnpm:
npm install -g commit-chadThis will install the commit-chad command globally, allowing you to use it from anywhere in your terminal.
Usage
commit-chad [options]Options
-h, --help: Display help for the command-v, --version: Display the version of the command-y, --yes: Skip the the confirmation prompt except for the commit message. Default isfalse.-d, --debug: Enable debug mode, which will log the commands output. Default isfalse.-dr, --dry-run: Perform a dry run of the command without actually committing the changes. Default isfalse- --openai: Use the OpenAI API as ai provider. Default is
true. - --gemini: Use the Google Gemini API as ai provider. Default is
false.
Examples
- Example 1: Skip the some trivial confirmation prompts and enable debug mode
commit-chad --yes --debug- Example 2: Perform a dry run of the command
commit-chad --dry-runContributing
If you would like to contribute to this project, fill free to open an issue or submit a pull request at ease.
1.1.0
2 years ago
1.0.28
2 years ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago