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

Support click's auto_envvar_prefix #553

Open
nathanakk opened this issue Oct 25, 2024 · 0 comments
Open

Support click's auto_envvar_prefix #553

nathanakk opened this issue Oct 25, 2024 · 0 comments

Comments

@nathanakk
Copy link

nathanakk commented Oct 25, 2024

Is your feature request related to a problem? Please describe.
Flask's cli support using FLASK_COMMAND_OPTION environment variables to auto-populate cli arguments/options. (here)
For me, I have to type -d [directory] every time and an option to just use envvar FLASK_DB_RUN_DIRECTORY seems so much better.

Additionally, since -d [directory] is an option for all cli, this can be moved to an option for db group to allow flexibility of flask db -d [directory] [command].

Describe the solution you'd like
Add support for click's auto_envvar_prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant