0.1.3 • Published 2 years ago
@leurs247/chatgpt-cli v0.1.3
chatgpt-cli
A simple CLI-tool to interact with ChatGPT.
Installation
npm install -g @leurs247/chatgpt-cliConfiguration
Set an OpenAI API key
chatgpt config auth set <apiKey>Get an OpenAI API key
chatgpt config auth getDelete an OpenAI API key
chatgpt config auth deleteAsking questions
chatgpt ask --q <question> -t <temperature> -m <max-tokens> -d <model>
-q, --question the question to ask (required)
-t, --temperature set temperature (default = 1)
-m, --max-tokens set max. tokens (default = 256)
-d, --model set model (default = gpt-3.5-turbo)Global options
-c, --copy copy the output to the clipboardLicense
MIT