mdfilio / a

CLI tool to generate code from GPT3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a

CLI tool to generate code from GPT3 that pretty-prints the output by language, and copies to your clipboard

tty

Installation

cargo install a-gpt

For local development:

make release
sudo make install

If the clipboard feature is enabled and you are running Ubuntu/Debian, you may need to install the following packages:

sudo apt install xorg-dev libxcb-composite0-dev

Usage

Invoke the a command followed by a prompt. If the first word in the prompt is a programming language or file-format the pretty-printer recognizes, it will syntax highlight the output.

a python script that fetches a url
a rust program that showcases its various features
a yaml manifest describing a kubernetes deployment

If installed with the clipboard feature (enabled by default), the output will be copied to the clipboard.

About

CLI tool to generate code from GPT3

License:MIT License


Languages

Language:Rust 94.1%Language:Makefile 5.9%