Table of Contents
pip install dist/prompt_cli-0.0.1-py3-none-any.whl
Make sure that you have your OPEN_API_KEY
set in your environment variables.
You can generate code through a prompt with the command
prompt generate <prompt> <file>
where <prompt>
is the name of the prompt and <file>
is the name of the file to use as a input for you prompt.
prompt generate <prompt> <file> --overwrite
will overwrite the file with the generated code by openai.
You can ask a question through a prompt with the command
prompt ask <question>
where <question>
is the question you want to ask.
It behaves the same as the ChatGPT chat functionality.
prompt-cli
is distributed under the terms of the MIT license.