Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable setting of cli options with environment variables #85

Open
LMH01 opened this issue Oct 20, 2024 · 0 comments
Open

Enable setting of cli options with environment variables #85

LMH01 opened this issue Oct 20, 2024 · 0 comments
Labels
accepted This issue/feature is accepted and will be worked on good first issue Good for newcomers

Comments

@LMH01
Copy link
Owner

LMH01 commented Oct 20, 2024

I think that it would be a good idea to add the possibility that cli options can be defined using environment varibles in addition to providing them when the program is run.
This would allow the possibility to specify the arguments --allowed-instruction-file and --memory-config-file once in a .env file instead of needing to provide them to the program on each run.

This can be done by using the env feature of clap so implementation is basically trivial.

@LMH01 LMH01 added good first issue Good for newcomers accepted This issue/feature is accepted and will be worked on labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue/feature is accepted and will be worked on good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant