Skip to content

FHardow/PromptCli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prompt-cli

PyPI - Version PyPI - Python Version


Table of Contents

Installation

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.

Usage

img.png

Generate code

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.

Ask a question

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.

License

prompt-cli is distributed under the terms of the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages