Skip to main content

Builds a smart commit message using LLMs

Project description

Smart Commit Msg

A tool that creates smart commit messages using the git diff.

Usage

Install the CLI

$ pip install smart-commit-msg

Go to a git repository

$ git add .
$ smart-commit-msg

Smart commit msg gives you a commit message based on the staged changes.

Tool Help

NAME
    smart-commit-msg - Main function that orchestrates the commit message generation and user interaction.

SYNOPSIS
    smart-commit-msg <flags>

DESCRIPTION
    Main function that orchestrates the commit message generation and user interaction.

FLAGS
    --model=MODEL
        Default: 'meta-llama/Llama...
    --max_tokens=MAX_TOKENS
        Default: 100

Models

This tool uses the huggingface_hub.InferenceClient API. So you can use all the models that support the inference endpoints!

To know more about inference endpoints please read the official documentation.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smart_commit_msg-0.1.1.tar.gz (53.0 kB view hashes)

Uploaded Source

Built Distribution

smart_commit_msg-0.1.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page