aicat
v8.1.1
Published
Ask ChatGPT using some files as part of the instructions.
Downloads
42
Readme
Ask ChatGPT using some files as part of the instructions.
Will cat (output) any files listed in order with filename and separator; any double quoted command arguments are inserted as instructions.
Breaking change
Then this is sent to OpenAI as a completion and the response is sent to the file(s) specified by ChatGPT.
Install
npm i -g aicat
export OPENAPI_AI_KEY=XXXXXXXXXXXXXXXXXXXXXXXX
Usage
# should create file2.mustache
aicat file1.mustache file2.html "extract template fields from file1 and insert into appropriate locations in file2"
GPT-4
# should create mlb.txt or similar
aicat -4 "list of MLB teams sorted by city name"