This repo contains Java file that help devs generate GPT content locally and create code and text files using a command line argument class
cd SaveGPT/src/main/java/org/modules/Runner javac Main.java
- help view command help
- create generates GPT content code/text file locally
- lang dev language for generating code files supports following
- Java parameter: java or j
- text parameter: text or txt
- Node parameter: node or js
- Python parameter: python or py
- Terraform parameter: terraform or tf
- C parameter: c
- typescript parameter: typescript or ts
- provide GPT prompt
- pass in any file name
- give new path where the file gets created otherwise creates file where the command is ran
java Main.java create py "write simple py script"
java Main.java create text myText "write a poem" config user/downloads/dirtest
This tool is made for devs to run GPT locally and avoids copy pasting and allows automation if needed (not yet implemented).
@jalpp