klotz: shebang*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. Explores how to use the llm CLI tool within a script's shebang line by utilizing the env -S pattern. This approach allows plain text files to become executable via large language models, treating file contents as prompts. The article covers using flags like -f for fragments and -x for code extraction, integrating tools such as llm_time, and leveraging YAML templates with parameters or embedded Python tool functions to create highly functional scripts.
    Main topics:
    - Using env -S with the llm CLI
    - Making text files executable via LLM
    - Integrating tools within shebang lines
    - Utilizing YAML templates for prompts
    - Embedding Python functions in templates

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: shebang

About - Propulsed by SemanticScuttle