Skip to main content

Natural language to shell command.

Project description

autocmd

Natural language to shell command.

Installation

uv tool install autocmd-cli

Quick start

First run triggers setup for shell integration and LLM provider:

autocmd "check git status"

After setup, commands appear on your prompt ready to edit:

autocmd "git fetch all updates from remote"
# → git fetch --all

autocmd "show git log for last 5 commits"
autocmd "find all python files modified today"
autocmd "kill process on port 3000"

Providers

Supports multiple LLM providers:

  • Anthropic (Claude) - default
  • OpenAI (GPT)
  • Groq (Llama)
  • Grok (xAI)
  • Deepseek
  • Openrouter

Configure via autocmd --settings or environment variables:

export AUTOCMD_PROVIDER=groq
export GROQ_API_KEY=your_key_here
export AUTOCMD_MODEL=llama-3.3-70b-versatile  # optional

Configuration

autocmd --settings  # Configure provider, API key, model, and streaming
autocmd --reset     # Reset all configuration

Development

git clone https://github.com/dvirzg/autocmd.git
cd autocmd
./dev-setup.sh
source ~/.zshrc  # or ~/.bashrc

# Always uses the local code
autocmd-dev "check git status"

Uninstall

uv tool uninstall autocmd

Then remove the autocmd line from your shell config if you want to fully clean it up.

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

autocmd_cli-0.2.1.tar.gz (56.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autocmd_cli-0.2.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file autocmd_cli-0.2.1.tar.gz.

File metadata

  • Download URL: autocmd_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 56.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autocmd_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df1b2be12c3c812cc4074a6aea44d72d2c20bd0582c46c32ee1cd7085f797b68
MD5 55d571842d75130cf539ea8da7ef01b0
BLAKE2b-256 a78830eb7381d2372b217d9e81cc757cf5e9e37fdb6bee076567800970c3cd0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for autocmd_cli-0.2.1.tar.gz:

Publisher: publish.yml on dvirzg/autocmd

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

File details

Details for the file autocmd_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: autocmd_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autocmd_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec1e6e963460a255055f621d71c35fd0016ece8566c51446761ec7107c105c06
MD5 5265deb65afb3123c0687ef4e8b0ac2b
BLAKE2b-256 ba585bb0bb3850e894063d9ab1a9a1403a6d4c78c0190af93921025c03de25c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for autocmd_cli-0.2.1-py3-none-any.whl:

Publisher: publish.yml on dvirzg/autocmd

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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page