Welcome to AVCMT-PY, your go-to tool for generating semantic Git commit messages automatically. This project leverages AI to streamline your workflow, ensuring your Python projects maintain high code quality and efficient release management.
- AI-Powered: Utilize advanced algorithms to generate meaningful commit messages.
- Fully Automated: Set up your workflow to handle commit messages without manual input.
- Semantic Release Style: Follow best practices in versioning and release management.
- CLI Tool: Easy-to-use command-line interface tailored for Python projects.
- Integration with GitHub Actions: Seamlessly incorporate into your CI/CD pipeline.
- Open Source: Contribute and collaborate with a community of developers.
- Pre-commit Hooks: Ensure commit messages meet standards before they are finalized.
To get started with AVCMT-PY, you need to have Python installed on your machine. Follow these steps:
-
Clone the repository:
git clone https://github.com/Jhdkb/avcmt-py.git cd avcmt-py
-
Install dependencies:
Use pip to install the required packages:
pip install -r requirements.txt
-
Run the tool:
You can start using AVCMT-PY right away:
python avcmt.py
Using AVCMT-PY is straightforward. The command-line interface allows you to generate commit messages with a simple command.
To generate a commit message, simply run:
avcmt generate
This command will provide you with a suggested commit message based on the changes you've made.
You can customize the output by providing flags. For example:
avcmt generate --type feat --scope ui --description "Add button styles"
This command will generate a commit message like:
feat(ui): Add button styles
To automate the commit message generation in your CI/CD pipeline, you can add the following snippet to your GitHub Actions workflow file:
jobs:
commit-message:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate Commit Message
run: |
python avcmt.py generate
This setup will ensure that every commit in your repository follows the semantic release style.
We welcome contributions to AVCMT-PY! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add your commit message"
- Push to your branch:
git push origin feature/YourFeature
- Create a Pull Request.
Please ensure that your code adheres to our coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For more information, visit the Releases section to download the latest version and execute it on your machine. You can also check out the releases for updates and new features.
If you have any questions or need assistance, feel free to reach out through issues or discussions in the repository.
AVCMT-PY is designed to enhance your development experience by automating commit message generation and ensuring code quality. By integrating this tool into your workflow, you can save time and focus on what truly matters: writing great code.
Explore the power of AVCMT-PY today and transform the way you manage your Git commits!