j178 / chatgpt

An elegant interactive CLI for ChatGPT
694 stars 52 forks source link

Use value of -p as the prompt if it can't be found as a key in the config (feature proposal) #47

Closed bkis closed 1 year ago

bkis commented 1 year ago

This way you could either use a predefined prompt (chatgpt -p translate) or come up with one on the fly (chatgpt -p "You are a cat. You can only meow. That's it.").

j178 commented 1 year ago

Hi, thanks for the advice. This is exactly how chatgpt works now.

image
bkis commented 1 year ago

Oh, great :)
Sorry I didn't just try it - couldn't find it mentioned in the documentation.

Thanks for this great tool! Works flawlessly and the interactive CLI is very well designed and efficient!