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

Rewrite CLI errors and docs #2490

Merged
merged 2 commits into from
Oct 10, 2017
Merged

Rewrite CLI errors and docs #2490

merged 2 commits into from
Oct 10, 2017

Conversation

davidism
Copy link
Member

Reword the CLI loader errors to use current examples and try to describe the issues more accurately. Refactor the loader code.

Entirely rewrite the CLI docs. Wording is tightened up, sections are reorganized. Section about app detection quickly explains basics and shows typical values, then explains full rules.

closes #2027

consistent order for arguments to load functions
refactor find_app_by_string to flow better
more cli loader tests
reflects the current FLASK_APP detection
@davidism davidism added the docs label Oct 10, 2017
@davidism davidism added this to the 1.0 milestone Oct 10, 2017
@davidism davidism self-assigned this Oct 10, 2017
@davidism davidism merged commit 0932d8f into pallets:master Oct 10, 2017
@davidism davidism deleted the cli-review branch October 10, 2017 18:59
@wgwz
Copy link
Contributor

wgwz commented Oct 10, 2017

Looks great! Excited to try some of this out

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update app factory docs for Flask's CLI
2 participants