A CLI tool to generate code using OpenAI's GPT-3
npm install codegptCodeGPT is a command-line interface (CLI) tool that generates code snippets using OpenAI's GPT-3 API. CodeGPT allows developers to generate code snippets in a variety of programming languages by simply providing a prompt.
To install CodeGPT, you can use npm or yarn:
```
npm install -g codegpt
or
``
yarn global add codegpt
After installation, you can use the codegpt command to generate code snippets.
`
Usage: codegpt [options]
Options:
-V, --version output the version number
-h, --help display help for command
``
To get started with CodeGPT, you need an OpenAI API key. You can get one by signing up for OpenAI's GPT-3 beta program.
Once you have an API key, run codegpt in your terminal, and follow the prompts to generate your code snippet.
If you would like to contribute to CodeGPT, please see the CONTRIBUTING.md file.
CodeGPT is licensed under the MIT License.