Skip to content

commands reference

this document serves as a reference for all commands available in git-acm, including their syntax, parameters, expected outputs, and examples.


Terminal window
git-acm get-models
  • description: fetches models from OpenRouter and stores them locally.
  • expected output: installation progress and success message.

Terminal window
git-acm use <model_id>
  • description: selects a model by id (copy from OpenRouter models page or git-acm list).
  • parameters:
    • <model_id>: for example, anthropic/claude-3.7-sonnet.
  • expected output: confirmation of the selected model.

enable auto-commit optional

Section titled “enable auto-commit ”
Terminal window
git-acm autocommit enable
  • description: enables the auto-commit feature.
  • parameters: none.
  • expected output: confirmation that auto-commit is enabled.
Terminal window
git-acm autocommit disable
  • description: disables the auto-commit feature.
  • parameters: none.
  • expected output: confirmation that auto-commit is disabled.

Terminal window
git-acm
  • description: generates a commit message using the selected model based on the changes in your code.
  • parameters: none.
  • expected output: a generated commit message (also copied to clipboard).
Terminal window
git-acm list
  • description: lists locally cached models fetched via get-models.
  • parameters: none.
  • expected output: a list of models.
Terminal window
git-acm help
  • description: displays the help menu for git-acm.
  • parameters: none.
  • expected output: a list of available commands and their descriptions.
  • error: invalid api provider

    • message: “error: unsupported api provider. please use one of: gemini, openai, anthropic, llama.”
    • solution: ensure you are using a valid api provider name.
  • error: api key missing

    • message: “error: api key is not set. please configure your api key in the .env file.”
    • solution: check your .env file for the correct api key configuration.
  • supported platforms: linux, macos, windows (via wsl).
  • dependencies: requires git and rust (for cargo installation).