David Lord
ed5b240417
Merge branch '2.2.x'
2023-02-15 14:48:09 -08:00
David Lord
24df8fc89d
show 'run --debug' in docs
...
Reverts commit 4d69165ab6
. Now that a
release has this option, it's ok to show it in the docs. It had been
reverted because the 2.2.x docs showed it before 2.2.3 was released.
2023-02-15 14:33:32 -08:00
David Lord
8f13f5b6d6
update docs and examples for pyproject
...
setup.py -> pyproject.toml
venv -> .venv
2023-01-18 10:32:51 -08:00
David Lord
74e5263c88
new run debug docs
2022-12-29 09:52:18 -08:00
David Lord
4d69165ab6
revert run debug docs
2022-12-29 09:51:34 -08:00
Grey Li
bd26928fdb
Prefer flask run --debug in docs
2022-12-24 15:24:49 -07:00
David Lord
30427a2090
remove FLASK_ENV from docs
2022-08-01 15:11:35 -07:00
David Lord
4c08e3a2ba
update pycharm instructions
2022-08-01 11:39:31 -07:00
David Lord
c9e000b9ce
with_appcontext lasts for the lifetime of the click context
2022-06-17 11:52:01 -07:00
David Lord
ab1fbef29a
prefer --app over FLASK_APP in docs
2022-06-17 09:26:26 -07:00
David Lord
11195f1083
remove outdated dotenv docs
...
The CLI does not change the working directory when loading a dotenv file.
2022-05-04 06:03:31 -07:00
Mickaël Guérin
beae1249f7
add `exclude-patterns` option to `flask run`
2022-02-09 12:44:03 -08:00
David Lord
e37e87140e
Merge branch '2.0.x'
2022-02-09 07:37:43 -08:00
otherJL0
afe77feef3
Adding Fish commands to docs
2022-01-14 08:26:50 -08:00
David Lord
edac7e3a56
Merge branch '2.0.x'
2021-12-22 15:21:31 -08:00
David Lord
2e10fc24a1
document address already in use error
2021-11-16 09:04:18 -08:00
David Lord
e609dddd60
drop Python 3.6
2021-11-11 16:11:43 -08:00
Grey Li
531671c9c5
Improve the wording of using FLASK_APP
2021-05-10 22:58:19 -07:00
Grey Li
1035efc7d6
Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs ( #3714 )
...
* Enable Sphinx extension sphinx-tabs
* Add command tabs for all export commands
* Add command tabs for all venv commands
Fix trim spaces
2020-10-15 14:08:37 -07:00
David Lord
ff2f71379b
use ast to parse FLASK_APP
...
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
David Lord
fcac7f11cf
deprecate passing script_info to factory
2020-04-07 15:54:36 -07:00
David Lord
171aabc87d
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
c6a619af83
update CLI docs IDE integration
2020-04-02 12:09:04 -07:00
David Lord
1351d0a565
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
cb6272ccc8
fix docks linkcheck
2019-06-23 15:37:51 -07:00
David Lord
146df0f9e8
use dashes for command names
2019-06-21 08:47:27 -07:00
Anthony Plunkett
ec1ccd7530
Add Blueprint level cli command registration
...
Implements #1357 .
Adds ability to register click cli commands onto blueprint.
2019-05-24 14:43:29 -07:00
David Lord
e18cc4d71d
add SeparatedPathType to accept multiple paths
...
Multiple paths for the reloader's `--extra-files` are accepted as one
option, separated by ':'.
2019-05-24 07:19:56 -07:00
Bruno Rocha
2308cba407
Fix #2897 - Add `extra_files` option to `flask run` CLI
2019-05-23 10:47:41 -07:00
David Lord
2236ba980c
Merge branch '1.0.x'
2019-05-16 12:18:36 -07:00
Charles Ross
0df2620c5f
update docs on gunicorn deploy and app discovery
2019-05-16 10:45:03 -07:00
David Baumgold
6606a4a238
fix RST line too long
2019-05-06 11:11:32 -04:00
Jarek Lipski
363205bdc3
fix @click.command example by adding parens
...
Otherwise the example fails with the following error:
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'".
More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 10:02:51 -07:00
Jarek Lipski
47dadcfe15
fix @click.command example by adding parens
...
Otherwise the example fails with the following error:
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'".
More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 18:55:12 +02:00
Grey Li
21b0aa6dd8
Add prefix for all commands in documentation ( #2877 )
...
* Add prefix for commands in docs
* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Jeremy Mayeres
c7791bb526
📚 Improve docs about ScriptInfo
...
Improve documentation for the CLI using application factories and
how/when the ScriptInfo object is passed with Application Discovery
2018-07-20 19:20:04 +02:00
David Lord
5965cb7e1c
rename to FLASK_SKIP_DOTENV, add docs, test
2018-04-29 14:20:17 -07:00
David Lord
93698b509b
document cli option env vars
...
closes #2713
2018-04-20 13:25:04 -07:00
David Lord
ae30fe7de0
document testing cli commands
2018-01-28 18:48:39 -08:00
David Lord
7fb2ddcaf6
add note about syntax errors in custom scripts
...
mention pycharm version support
2018-01-28 14:41:47 -08:00
David Lord
87c2e121e0
clean up FLASK_ENV docs [ci skip]
2018-01-10 15:46:11 -08:00
Armin Ronacher
2433522d29
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
David Lord
54f3d2131d
Merge pull request #2541 from nsiregar/#2535_update_pycharm_instruction
...
update pycharm instructions
2018-01-04 12:56:38 -08:00
David Lord
c11fe5d007
smaller, optimized image
...
reword / reformat the docs
fix tox build directory
2018-01-04 12:34:25 -08:00
Grey Li
58ea360d43
Docs: Add missing backslash
2017-12-14 14:38:37 +08:00
Ngalim Siregar
601cd90fdb
update pycharm instructions
2017-12-03 16:37:52 +09:00
David Lord
9bc329c0c9
rewrite cli docs
...
reflects the current FLASK_APP detection
2017-10-10 11:10:20 -07:00
David Lord
491d331e6e
load env vars using python-dotenv
2017-07-16 13:37:51 -07:00
David Lord
448368e226
style cleanup
...
[ci skip]
2017-06-16 06:59:37 -07:00
Miguel Grinberg
0b80acb25c
document wsgi.py and app.py default modules
2017-06-15 12:15:38 -07:00