#openai #cli #api-wrapper #language #generate #different #api-key

app pfile

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

2 releases

0.1.1 Apr 5, 2024
0.1.0 Apr 3, 2024

#1882 in Web programming

46 downloads per month

MIT/Apache

11KB
105 lines

pfile

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

Install

cargo install pfile

Config

OpenAI api key should be set using envar OPENAI_API_KEY.

Run

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

Dependencies

~7–22MB
~271K SLoC