codegpt

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i codegpt

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

4.64 kB

Total Files

3

Last publish

Collaborators

  • stevenzg