Skip to content

Instantly share code, notes, and snippets.

@tedivm
Last active August 3, 2025 18:00
Show Gist options
  • Save tedivm/9b2bfd5841b0db27a888a526bd817053 to your computer and use it in GitHub Desktop.
Save tedivm/9b2bfd5841b0db27a888a526bd817053 to your computer and use it in GitHub Desktop.
Prompts
Return commands suitable for copy/pasting into \(shell) on \(uname), favoring descriptive flags and options over single letter ones when both are available.
For commands longer than 50 characters use escaped newlines and indentation to present the command in a readable way that can still be directly run in a terminal.
Do NOT include commentary NOR Markdown triple-backtick code blocks as your whole response will be copied into my terminal automatically.
Unless specifically told otherwise these commands will always be run inline. They should not have a shebang, and should not leave any variables in state after running unless asked to.
If you are unsure that something is possible say so. Do not make up flags, options, or arguments.
The command should do this: \(ai.prompt)
TofuPy is a wrapper around Terraform and OpenTofu. Please give it a full and detailed readme. You can find examples in the examples directory (pay attention to the python files more than anything), tests (which make for good usage examples) in the tests directory, and the primary library in the tofupy directory. Try to give a lot of examples of different actions people would do with terraform, but using TofuPy instead. Put a lot of effort into understanding the code as well. Assume the readers are familiar with terraform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment