#openai #openai-api #language #generate #different #wrapper #files-snippets

bin+lib prumpt

A cli wrapper around OpenAI to generate files/snippets in different languages that work for me

2 releases

0.1.2 May 11, 2024
0.1.1 May 11, 2024

#2012 in Web programming

MIT/Apache

11KB
237 lines

prumpt

A cli wrapper around OpenAI to generate files/snippets in different languages that work for me.

Install

cargo install prumpt

Config

OpenAI api key should be set using envar OPENAI_API_KEY.

Run

prumpt An html file with infile css in a futuristic style. Use animations. > index.html

Dependencies

~6–21MB
~265K SLoC