dev-backpack / cllm

Empower your CLI experience with a command search tool driven by LLM magic!
https://dev-backpack.github.io/cllm/
MIT License
33 stars 0 forks source link
cli command-line-tool llm rust

cllm

Discord GitHub Release CLLM Docs License: MIT GitHub Issues

Empower your CLI experience with a command search tool driven by LLM magic!

$ cllm search "Show all pods in k8s cluster"
  kubectl get pods -A

$ cllm search "Find all files recursively within the current directory that contain 'a' in their filenames."
  find . -type f -name '*a*' -print

$ cllm search "Provide the command to build and push a Docker image from the current directory."
  docker build -t myapp:latest . --push

Installation

Homebrew (macOS and Linux)

brew tap dev-backpack/cllm
brew install cllm

Install Script (macOS and Linux)

curl https://raw.githubusercontent.com/dev-backpack/cllm/main/install.sh | sh

Commands

Register OpenAI API Key

cllm set key [API_KEY]

Search a command using LLM

cllm search [QUERY]

Show the history of commands searched

cllm history

Show the description of a command

cllm describe [COMMAND]

License

cllm is licensed under the MIT License.

Connect with us

If you have any questions or suggestions, feel free to open an issue or join our Discord server.