codegpt
v0.0.2
Published
A CLI tool to generate code using OpenAI's GPT-3
Downloads
8
Maintainers
Readme
CodeGPT
CodeGPT 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.
Installation
To install CodeGPT, you can use npm or yarn:
npm install -g codegpt
or
yarn global add codegpt
Usage
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
Getting Started
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.
Contributing
If you would like to contribute to CodeGPT, please see the CONTRIBUTING.md file.
License
CodeGPT is licensed under the MIT License.