Runprompt – run .prompt files from the command line
SMRTR summary
Runprompt is a single-file Python script that enables developers to execute .prompt files directly from the command line, streamlining AI model interactions by supporting multiple providers including Anthropic, OpenAI, and Google AI. The tool allows users to create structured JSON outputs, chain prompts together, process stdin input, and override configurations through command-line arguments or environment variables.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article