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

Add option to not overwrite debug flag in cli #2765

Merged

Conversation

@ThiefMaster
Copy link
Member

commented May 8, 2018

This is intended for custom CLIs that may load a config file which already sets the debug flag and does not make use of the FLASK_* env vars at all.

Filed against 1,0-maintenance since this is functionality that was present before and was lost between 0.12 and 1.0.

@ThiefMaster ThiefMaster requested a review from davidism May 8, 2018

@ThiefMaster ThiefMaster changed the base branch from master to 1.0-maintenance May 8, 2018

@ThiefMaster ThiefMaster force-pushed the ThiefMaster:custom-cli-ignore-debug branch from 1a6d146 to 980c1e7 May 9, 2018

ThiefMaster added a commit to indico/indico that referenced this pull request May 16, 2018

Revert "Update to Flask 1.0.x"
This reverts commit 79b1f7e.
Until pallets/flask#2765 is merged and in a released Flask version
Add option to not overwrite debug flag in cli
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.

@ThiefMaster ThiefMaster force-pushed the ThiefMaster:custom-cli-ignore-debug branch from 980c1e7 to 50227f0 Jun 14, 2018

@ThiefMaster ThiefMaster merged commit 1a9caed into pallets:1.0-maintenance Jun 14, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ThiefMaster ThiefMaster deleted the ThiefMaster:custom-cli-ignore-debug branch Jun 14, 2018

@davidism davidism added this to the 1.0.3 milestone Jan 7, 2019

@davidism davidism added the cli label Jan 7, 2019

@ThiefMaster ThiefMaster referenced this pull request May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.