CLI tool for generating commit messages using a commit-generation server
Project description
Commit-Gen CLI Tool
Commit-Gen is a powerful Python CLI tool designed to streamline your commit workflow. It automatically extracts the staged Git diff, sends it to a commit-generation server, and prints a clear, concise commit message based on the changes made. This process helps ensure that your commit history remains informative and consistent.
Features
- Automated Commit Messages:
Generates detailed commit messages based on staged code changes. - Easy Integration:
Works directly with your Git workflow.
Installation
Install Commit-Gen directly from PyPI using pip:
pip install commit-generator
Usage
Basic Workflow
- Stage Your Changes:
Begin by staging your changes in Git using:
git add .
- Generate the Commit Message:
Execute the Commit-Gen tool to generate your commit message:
commit-gen
The CLI tool will:
- Extract the staged Git diff.
- Communicate with the commit-generation server.
- Output a generated commit message that summarizes your changes.
- Apply the Commit Message:
Use the generated message when committing your changes:
git commit -m "$(commit-gen)"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file commit_generator-0.1.2.tar.gz.
File metadata
- Download URL: commit_generator-0.1.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ffd67e5422f8c43a27b375aed7b2b0ef76101e6feaefb322cfb55c2832e95a
|
|
| MD5 |
1aa4b8cd99c95f8b5848297ae4cc3c30
|
|
| BLAKE2b-256 |
bb333160837fe999a98b83acf1d19d016e716d618c2412d2066fb9340827f074
|
File details
Details for the file commit_generator-0.1.2-py3-none-any.whl.
File metadata
- Download URL: commit_generator-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
678a295169adaeded3adbc317978b1b7c436ccf47ec1ad3c5792a9b2db8cfad6
|
|
| MD5 |
c9c669435d9a273e1caf0aea98f87db0
|
|
| BLAKE2b-256 |
aae77597fd32c85049b0890e455df7be2c8f9fd14ec05bd6215dce8de6a08cad
|