support for template prompts in non interactive mode #2685
therahulprasad
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Use cases A:
Sometimes I don't know the exact command and I google it by typing the command on google itself. for example
brew install lmstudio. I get the exact command from google or claude or gemini and then I run it. Which isbrew install --cask lm-studio.I use crush to simplify it
crush run fix command keep the answer short brew install lmstudio. It gives me the correct answer which I can run, it saves multiple steps of opening browser and searching.If I can save a template
fix command keep the answer short=>fixthen I can simply runcrush fix brew install lmstudioUse case B:
Sometimes I dont know the command at all, but I know what to do. For example
crush run give me only single command, do not use backtick only print the command to find all json files in the directory. I can create a template forgive me only single command, do not use backtick only print the command to=>command. And runcrush command find all json files in the directoryTemplates will save effort of writing long prompts for everyday tasks.
PS: I have used smaller prompts in the examples, but prompts tends to grow with time to handle edge cases.
Beta Was this translation helpful? Give feedback.
All reactions