SmoothDev AI-powered commit message generator CLI tool
Project description
SmoothDev Commit Message CLI
A CLI tool that generates commit messages using AI. This tool integrates with your git workflow to analyze staged changes and generate meaningful commit messages.
Features
- Generates commit messages from git diffs
- Supports branch name and issue key context
- Secure authentication via Auth0 device flow
- Debug logging for troubleshooting
- Handles compressed and encoded responses
- Configurable via config file or environment variables
Installation
pip install smoothdev-commit-message-cli
Quick Start
# Generate a commit message for staged changes
smoothdev-commit-message-cli
# Generate a commit message with an issue key
smoothdev-commit-message-cli -i JIRA-123
# Generate a commit message for a specific branch
smoothdev-commit-message-cli -b feature/my-branch
Command Line Options
-d, --diff Git diff content (if not using staged changes)
-f, --file File containing git diff
-b, --branch Branch name (defaults to current branch)
-i, --issue Issue number or key
-c, --config Custom config file path
--debug Enable debug logging
Authentication
The tool uses Auth0's device flow for secure authentication. On first run, you'll be prompted to authenticate through your browser. Tokens are securely stored and automatically refreshed when needed.
Related Projects
- VS Code Extension: SmoothDev Commit Message Generator
- Homebrew Formula:
brew install smoothdev-io/tap/smoothdev-commit-message-cli
- GitHub Repository: smoothdev-io/commit-message-cli
License
MIT License - see LICENSE file for details
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
File details
Details for the file smoothdev_commit_message_cli-1.0.5.tar.gz
.
File metadata
- Download URL: smoothdev_commit_message_cli-1.0.5.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
19a7d036eb1cc88d78a3332aad56bbfd78edac5264911acf9e31803042822066
|
|
MD5 |
33d8764ca3968583e106071c2eb31222
|
|
BLAKE2b-256 |
f33a093b0cb06568c5bcecd7b09b1c76ed9e000c703a5fcdd6f5e78e3830f7d9
|
Provenance
The following attestation bundles were made for smoothdev_commit_message_cli-1.0.5.tar.gz
:
Publisher:
pypi-publish.yml
on smoothdev-io/commit-message-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
smoothdev_commit_message_cli-1.0.5.tar.gz
-
Subject digest:
19a7d036eb1cc88d78a3332aad56bbfd78edac5264911acf9e31803042822066
- Sigstore transparency entry: 221875217
- Sigstore integration time:
-
Permalink:
smoothdev-io/commit-message-cli@cff97d31d23517ec45f756b1f0b46d9ee08dfdac
-
Branch / Tag:
refs/tags/1.0.5
- Owner: https://github.com/smoothdev-io
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi-publish.yml@cff97d31d23517ec45f756b1f0b46d9ee08dfdac
-
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file smoothdev_commit_message_cli-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: smoothdev_commit_message_cli-1.0.5-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9a47d5df33a9e80eee65a4400803c74af9c1e7111625b59b7cb8881aa47dfc2f
|
|
MD5 |
7313023900409bf8df9d9957451663b8
|
|
BLAKE2b-256 |
7720cffbee5fefab694d5a01a6ec903c99a1df7894eba9c79333c97d9f943b14
|
Provenance
The following attestation bundles were made for smoothdev_commit_message_cli-1.0.5-py3-none-any.whl
:
Publisher:
pypi-publish.yml
on smoothdev-io/commit-message-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
smoothdev_commit_message_cli-1.0.5-py3-none-any.whl
-
Subject digest:
9a47d5df33a9e80eee65a4400803c74af9c1e7111625b59b7cb8881aa47dfc2f
- Sigstore transparency entry: 221875235
- Sigstore integration time:
-
Permalink:
smoothdev-io/commit-message-cli@cff97d31d23517ec45f756b1f0b46d9ee08dfdac
-
Branch / Tag:
refs/tags/1.0.5
- Owner: https://github.com/smoothdev-io
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi-publish.yml@cff97d31d23517ec45f756b1f0b46d9ee08dfdac
-
Trigger Event:
workflow_dispatch
-
Statement type: