Open Itezaz-ul-Hassan opened 1 year ago
Thank you, this is good. A couple other PRs have now merged that also added .env support the api key and user confirmation for changes, but this still adds useful new flags. I need to think a bit more about the interface before coming back to this and merging. I'll get to it soon!
Thank you, this is good. A couple other PRs have now merged that also added .env support the api key and user confirmation for changes, but this still adds useful new flags. I need to think a bit more about the interface before coming back to this and merging. I'll get to it soon!
Sure
In the latest update, several flags have been introduced to enhance the parsing capability and facilitate future usage of the program. Additionally, to address security concerns and adhere to the standard practice of storing API Keys, the program now supports the use of .env files instead of openai_key.txt. The program will now prompt the user for confirmation before applying any changes, and if the user inputs 'y', the changes will be made and the process will be repeated. Conversely, if the user inputs 'n', the program will terminate. However, when the
-y
or--yes
flag is used, the program will not prompt the user for confirmation at each step, and the changes will be made continuously until the script runs successfully.