Skip to main content

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

License

MIT License - see LICENSE file for details

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

smoothdev_commit_message_cli-1.0.5.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

smoothdev_commit_message_cli-1.0.5-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file smoothdev_commit_message_cli-1.0.5.tar.gz.

File metadata

File hashes

Hashes for smoothdev_commit_message_cli-1.0.5.tar.gz
Algorithm Hash digest
SHA256 19a7d036eb1cc88d78a3332aad56bbfd78edac5264911acf9e31803042822066
MD5 33d8764ca3968583e106071c2eb31222
BLAKE2b-256 f33a093b0cb06568c5bcecd7b09b1c76ed9e000c703a5fcdd6f5e78e3830f7d9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smoothdev_commit_message_cli-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for smoothdev_commit_message_cli-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a47d5df33a9e80eee65a4400803c74af9c1e7111625b59b7cb8881aa47dfc2f
MD5 7313023900409bf8df9d9957451663b8
BLAKE2b-256 7720cffbee5fefab694d5a01a6ec903c99a1df7894eba9c79333c97d9f943b14

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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