Skip to main content

An `llm` plugin to assist with renameutils qcp/qmv commands.

Project description

llm-rename

Small llm plugin designed to assist with qcp/qmv execution plans.

Once you install the plugin, you can run qmv --editor 'llm rename' and it will -

  • Append a default prompt to the plan
  • Open $EDITOR to let you change the plan/prompt
  • Use llm to ask an LLM to mutate the plan using the prompt
  • Deliver the mutated plan back to qcp/qmv

Note you can add -E/--edit-after to review and change the plan after the LLM edited it.

If you editor is vim, you can always exit non-zero (using :cq), which will allow you to abort any qcp/qmv changes.

Installation

After you installed llm itself (e.g., pipx install llm), use:

llm install llm-rename

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

llm_rename-1.0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

llm_rename-1.0.1-py3-none-any.whl (4.2 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