Skip to main content

A CLI that writes your git commit messages for you with AI

Project description

AI-Commit

A CLI that writes your git commit messages for you with AI

Demo

Demo

Usage

 Usage: aic [OPTIONS] [PATHSPEC]...

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────╮
│   pathspec      [PATHSPEC]...  When pathspec is given on the command line, commit the contents of    │
│                                the files that match the pathspec without recording the changes       │
│                                already added to the index. The contents of these files are also      │
│                                staged for the next commit on top of what have been staged before.    │
│                                For more details, see the pathspec entry in gitglossary(7).           │
│                                [default: None]                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────╮
│ --exclude             -e                     TEXT                        [default: None]             │
│ --log                                        [TRACE|DEBUG|INFO|SUCCESS|  [env var: LOG_LEVEL]        │
│                                              WARNING|ERROR|CRITICAL]     [default: INFO]             │
│ --log-file                                   FILE                        [env var: LOG_FILE]         │
│                                                                          [default: None]             │
│ --pre-commit              --no-pre-commit                                [default: pre-commit]       │
│ --diff                                       TEXT                        [default: None]             │
│ --diff-file                                  FILE                        [default: None]             │
│ --spec                    --no-spec                                      [default: spec]             │
│ --model               -m                     TEXT                        [default: None]             │
│ --max-tokens                                 INTEGER                     [default: 500]              │
│ --temperature                                FLOAT                       [default: 0.2]              │
│ --api-key                                    TEXT                        [env var: OPENAI_API_KEY]   │
│                                                                          [default: None]             │
│ --install-completion                         [bash|zsh|fish|powershell|  Install completion for the  │
│                                              pwsh]                       specified shell.            │
│                                                                          [default: None]             │
│ --show-completion                            [bash|zsh|fish|powershell|  Show completion for the     │
│                                              pwsh]                       specified shell, to copy it │
│                                                                          or customize the            │
│                                                                          installation.               │
│                                                                          [default: None]             │
│ --help                                                                   Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯

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

ai_commit_cli-0.7.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

ai_commit_cli-0.7.0-py3-none-any.whl (15.9 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