1.0.8 β’ Published 7 months ago
@auroraphtgrp01/commit v1.0.8
β¨ @auroraphtgrp01/commit β¨
Elevate your git workflow with AI-crafted commit messages
π Overview
A sophisticated CLI tool that harnesses the power of Google's Gemini AI to craft elegant, meaningful commit messages. Say goodbye to the tedium of formatting and wordingβlet AI handle the details while you focus on your code.
π¨βπ» Creator
Crafting elegant developer experiences
β¨ Capabilities
- AI-Powered Generation β Creates contextually relevant commit messages based on your staged changes
- Conventional Format β Adheres to industry-standard commit conventions with appropriate emojis
- Personalization β Offers the flexibility to select from AI suggestions or craft your own message
- Streamlined Workflow β Features options to automatically stage changes and push commits
- Elegant Interface β Presents a beautiful, intuitive CLI experience
π Installation
# Global installation for regular use
npm install -g @auroraphtgrp01/commit
# Or use on demand without installation
npx @auroraphtgrp01/commitβοΈ Configuration
Create an auroraphtgrp01.json configuration file in your project root:
{
"model": "gemini-pro",
"temperature": 0.5,
"maxTokens": 2048,
"geminiToken": "YOUR_GEMINI_API_TOKEN"
}Obtain your Gemini API key from Google AI Studio
π Usage
# Standard usage
npx @auroraphtgrp01/commit
# With workflow enhancements
npx @auroraphtgrp01/commit -a -pElegant Options
| Option | Enhancement |
|---|---|
-a | Gracefully stages all changes (git add .) before committing |
-p | Seamlessly pushes your changes after committing |
Combine for a streamlined experience:
# Complete workflow: stage, commit, and push
npx @auroraphtgrp01/commit -a -pπ Refined Workflow
- Prepare β Stage your changes with
git add(or use the elegant-aoption) - Generate β Invoke the tool to create AI-powered commit messages
- Select β Choose from thoughtfully crafted suggestions or compose your own
- Commit β Your changes are committed with the selected message
- Share β With the
-poption, your work is automatically pushed to the remote repository
π Practical Example
# Stage specific files with precision
git add src/components/Button.js
# Generate an elegant commit message
npx @auroraphtgrp01/commit
# Or execute the entire workflow in one command
npx @auroraphtgrp01/commit -a -pπ License
This project is gracefully licensed under the MIT License.