Recently created an empty README.md
file, and prompted Cursor to “generate a readme in Markdown for this Terraform module, and include a table of the input variables” and it unsurprisingly generated a README that was spot-on!
I know you can prompt in the integrated Terminal to generate a command… but…
Wouldn’t it be easier if we could prompt in the integrated Terminal, and/or use the cursor
command with a prompt similar to the above, and it would create the requested file(s) with the generated content?
I suggest using the cursor
CLI only because a) it would then make it available without having to further modify the integrated terminal, for now, but, more importantly, b) with, say, an API key or Cursor Oauth token, we could use the cursor
command in scripts, and let us, say, write a script to go through all our Terraform modules with no README.md
, and just cursor "Generate a README.md..."
in one go.
(Constantly amazed by your product, BTW! Use it daily.)