Add support for flags and .env#21
Open
Itezaz-ul-Hassan wants to merge 3 commits intobiobootloader:mainfrom
Open
Add support for flags and .env#21Itezaz-ul-Hassan wants to merge 3 commits intobiobootloader:mainfrom
Itezaz-ul-Hassan wants to merge 3 commits intobiobootloader:mainfrom
Conversation
…into Add-Support-For-Args-and-Env
Owner
|
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! |
Author
Sure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
-yor--yesflag 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.