[1m                                                                                                                                                                                                                                                               [0m
[1m [0m[1;33mUsage: [0m[1mpython [0m[1;32m-m[0m[1m commitcraft [OPTIONS] COMMAND [ARGS]...[0m[1m                                                                                                                                                                                                     [0m[1m [0m
[1m                                                                                                                                                                                                                                                               [0m
 [1;32mGenerates a commit message[0m based on the result of [36mgit diff [0m[1;36m-[0m[1;36m-staged[0m[36m [0m[1;32m-M[0m and your clues, via the LLM you choose.                                                                                                                                                
 [1;2;33mAPI keys[0m[2m can be provided via environment variables or a [0m[2;36m.env[0m[2m file.[0m                                                                                                                                                                                            
                                                                                                                                                                                                                                                               
 [2mSupported environment variable names are:[0m                                                                                                                                                                                                                     
 [2m• [0m[2;36mOPENAI_API_KEY[0m                                                                                                                                                                                                                                              
 [2m• [0m[2;36mGROQ_API_KEY[0m                                                                                                                                                                                                                                                
 [2m• [0m[2;36mGOOGLE_API_KEY[0m                                                                                                                                                                                                                                              
 [2m• [0m[2;36mANTHROPIC_API_KEY[0m                                                                                                                                                                                                                                           
 [2m• [0m[2;36mCUSTOM_API_KEY[0m[2m (for [0m[2;35mopenai_compatible[0m[2m provider)[0m                                                                                                                                                                                                             
 [2m• [0m[2;36mOLLAMA_HOST[0m[2m (for [0m[2;35mollama[0m[2m provider, e.g., [0m[2mhttp://localhost:11434[0m[2m; this can also be set directly in the configuration file).[0m                                                                                                                                   
                                                                                                                                                                                                                                                               
[2m╭─[0m[2m Options [0m[2m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-version[0m             [1;32m-v[0m                       [1;33m    [0m  Show version and exit                                                                                                                                                                                  [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-no[0m[1;36m-color[0m                                     [1;33m    [0m  Disable colored output (plain text only). Also available as [1;36m-[0m[1;36m-plain[0m                                                                                                                                    [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-config[0m[1;36m-file[0m                                  [1;33mTEXT[0m  Path to the config file ([36mTOML[0m, [36mYAML[0m, or [36mJSON[0m) [2m[default: (tries to open [cyan].commitcraft[/cyan] folder in the root of the repo)][0m                                                                      [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-ignore[0m                                       [1;33mTEXT[0m  Files or file patterns to [31mignore[0m (comma separated) [2m[default: (tries to open [cyan].commitcraft/.ignore[/cyan] file of the repo)][0m                                                                       [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-debug[0m[1;36m-prompt[0m            [1;35m-[0m[1;35m-no[0m[1;35m-debug-prompt[0m    [1;33m    [0m  Return the [33mprompt[0m, don't send any request to the model [2m[default: no-debug-prompt][0m                                                                                                                      [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-install[0m[1;36m-completion[0m                           [1;33m    [0m  Install completion for the current shell.                                                                                                                                                              [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-show[0m[1;36m-completion[0m                              [1;33m    [0m  Show completion for the current shell, to copy it or customize the installation.                                                                                                                       [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-help[0m                                         [1;33m    [0m  Show this message and exit.                                                                                                                                                                            [2m│[0m
[2m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯[0m
[2m╭─[0m[2m Model Config [0m[2m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-provider[0m                               [1;33mTEXT   [0m  Provider for the AI model (supported: [35mollama[0m, [35mollama_cloud[0m, [35mgroq[0m, [35mgoogle[0m, [35mopenai[0m, [35manthropic[0m, [35mopenai_compatible[0m) [2;33m[env var: COMMITCRAFT_PROVIDER][0m [2m[default: (ollama)][0m                                                  [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-model[0m                                  [1;33mTEXT   [0m  Model name (e.g., [36mgemma2[0m, [36mllama3.1:70b[0m)                                                                                                                                                                   [2m│[0m
[2m│[0m                                                   [2;33m[env var: COMMITCRAFT_MODEL]                                                                                                                                                                          [0m    [2m│[0m
[2m│[0m                                                   [2m[default: (ollama: [cyan]qwen3[/cyan], ollama_cloud: [cyan]qwen3-coder:480b-cloud[/cyan], groq: [cyan]qwen/qwen3-32b[/cyan], google: [cyan]gemini-2.5-pro[/cyan], openai: [cyan]gpt-3.5-turbo[/cyan])][0m    [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-system[0m[1;36m-prompt[0m                          [1;33mTEXT   [0m  System prompt to guide the model [2;33m[env var: COMMITCRAFT_SYSTEM_PROMPT][0m [2m[default: None][0m                                                                                                                     [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-num[0m[1;36m-ctx[0m                                [1;33mINTEGER[0m  Context size for the model [2;33m[env var: COMMITCRAFT_NUM_CTX][0m [2m[default: None][0m                                                                                                                                 [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-temperature[0m                            [1;33mFLOAT  [0m  Temperature for the model [2;33m[env var: COMMITCRAFT_TEMPERATURE][0m [2m[default: None][0m                                                                                                                              [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-max[0m[1;36m-tokens[0m                             [1;33mINTEGER[0m  Maximum number of tokens for the model [2;33m[env var: COMMITCRAFT_MAX_TOKENS][0m [2m[default: None][0m                                                                                                                  [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-host[0m                                   [1;33mTEXT   [0m  HTTP or HTTPS host for the provider, required for custom provider, not used for groq [2;33m[env var: COMMITCRAFT_HOST][0m [2m[default: None][0m                                                                          [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-show[0m[1;36m-thinking[0m    [1;35m-[0m[1;35m-no[0m[1;35m-show-thinking[0m    [1;33m       [0m  Show the model's thinking process if available [2;33m[env var: COMMITCRAFT_SHOW_THINKING][0m [2m[default: no-show-thinking][0m                                                                                           [2m│[0m
[2m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯[0m
[2m╭─[0m[2m Commit Clues [0m[2m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-bug[0m             [1;35m-[0m[1;35m-no[0m[1;35m-bug[0m       [1;33m    [0m  Indicates to the model that the commit [31mfixes a bug[0m, not necessary if using [1;36m-[0m[1;36m-bug[0m[1;36m-desc[0m [2m[default: no-bug][0m                                                                                                              [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-bug[0m[1;36m-desc[0m                       [1;33mTEXT[0m  [31mDescribes the bug fixed[0m [2m[default: None][0m                                                                                                                                                                              [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-feat[0m            [1;35m-[0m[1;35m-no[0m[1;35m-feat[0m      [1;33m    [0m  Indicates to the model that the commit [32madds a feature[0m, not necessary if using [1;36m-[0m[1;36m-feat[0m[1;36m-desc[0m [2m[default: no-feat][0m                                                                                                         [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-feat[0m[1;36m-desc[0m                      [1;33mTEXT[0m  [32mDescribes the feature added[0m [2m[default: None][0m                                                                                                                                                                          [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-docs[0m            [1;35m-[0m[1;35m-no[0m[1;35m-docs[0m      [1;33m    [0m  Indicates to the model that the commit focuses on [34mdocumentation[0m, not necessary if using [1;36m-[0m[1;36m-docs[0m[1;36m-desc[0m [2m[default: no-docs][0m                                                                                               [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-docs[0m[1;36m-desc[0m                      [1;33mTEXT[0m  [34mDescribes the documentation change/addition[0m [2m[default: None][0m                                                                                                                                                          [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-refact[0m          [1;35m-[0m[1;35m-no[0m[1;35m-refact[0m    [1;33m    [0m  Indicates to the model that the commit focuses on [33mrefactoring[0m, not necessary if using [1;36m-[0m[1;36m-refact[0m[1;36m-desc[0m [2m[default: no-refact][0m                                                                                             [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-refact[0m[1;36m-desc[0m                    [1;33mTEXT[0m  [33mDescribes refactoring[0m [2m[default: None][0m                                                                                                                                                                                [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-context[0m[1;36m-clue[0m                   [1;33mTEXT[0m  Gives the model a custom clue of the current commit [2m[default: None][0m                                                                                                                                                  [2m│[0m
[2m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯[0m
[2m╭─[0m[2m Default Context [0m[2m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-project[0m[1;36m-name[0m               [1;33mTEXT[0m  Your Project name [2m[default: None][0m                                                                                                                                                                                        [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-project[0m[1;36m-language[0m           [1;33mTEXT[0m  Your Project language [2m[default: None][0m                                                                                                                                                                                    [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-project[0m[1;36m-description[0m        [1;33mTEXT[0m  Your Project description [2m[default: None][0m                                                                                                                                                                                 [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-commit[0m[1;36m-guide[0m               [1;33mTEXT[0m  Your Project Commit Guidelines [2m[default: None][0m                                                                                                                                                                           [2m│[0m
[2m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯[0m
[2m╭─[0m[2m Commands [0m[2m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36mconfig [0m[1;36m [0m [1;36mInteractively creates a configuration file.[0m                                                                                                                                                                                                        [2m│[0m
[2m│[0m [1;36mhook   [0m[1;36m [0m [1;36mSet up CommitCraft as a git commit hook.[0m                                                                                                                                                                                                           [2m│[0m
[2m│[0m [1;36minit   [0m[1;36m [0m [2mThis Command is not implemented yet.[0m                                                                                                                                                                                                               [2m│[0m
[2m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯[0m

