David Lord
042754ba4a
use ast to parse FLASK_APP
...
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
David Lord
f2a8087cf5
deprecate passing script_info to factory
2020-04-07 15:54:36 -07:00
David Lord
1de5873d66
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
b3b56f0c0c
update CLI docs IDE integration
2020-04-02 12:09:04 -07:00
David Lord
ff0c92a1c7
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
363741ec69
fix docks linkcheck
2019-06-23 15:37:51 -07:00
David Lord
ea0968869b
use dashes for command names
2019-06-21 08:47:27 -07:00
Anthony Plunkett
cc2580af09
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
9452450b6c
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
683584e5c5
Fix #2897 - Add extra_files option to flask run CLI
2019-05-23 10:47:41 -07:00
David Lord
316caad5db
Merge branch '1.0.x'
2019-05-16 12:18:36 -07:00
Charles Ross
4f3dd3183f
update docs on gunicorn deploy and app discovery
2019-05-16 10:45:03 -07:00
David Baumgold
3b6d1ecd24
fix RST line too long
2019-05-06 11:11:32 -04:00
Jarek Lipski
1a31fc71f6
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
df4ca56eac
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
95008cf43d
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
ca292373c7
📚 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
eb52ca4625
rename to FLASK_SKIP_DOTENV, add docs, test
2018-04-29 14:20:17 -07:00
David Lord
cbf2a4245c
document cli option env vars
...
closes #2713
2018-04-20 13:25:04 -07:00
David Lord
b6dff4fabe
document testing cli commands
2018-01-28 18:48:39 -08:00
David Lord
2f356bf6b2
add note about syntax errors in custom scripts
...
mention pycharm version support
2018-01-28 14:41:47 -08:00
David Lord
b2de7b49a7
clean up FLASK_ENV docs [ci skip]
2018-01-10 15:46:11 -08:00
Armin Ronacher
a1afc8f1a7
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
David Lord
4f89c6cd5c
Merge pull request #2541 from nsiregar/#2535_update_pycharm_instruction
...
update pycharm instructions
2018-01-04 12:56:38 -08:00
David Lord
5a25d8d029
smaller, optimized image
...
reword / reformat the docs
fix tox build directory
2018-01-04 12:34:25 -08:00
Grey Li
abecdec212
Docs: Add missing backslash
2017-12-14 14:38:37 +08:00
Ngalim Siregar
99aa1e1d71
update pycharm instructions
2017-12-03 16:37:52 +09:00
David Lord
6858fe9f92
rewrite cli docs
...
reflects the current FLASK_APP detection
2017-10-10 11:10:20 -07:00
David Lord
f0101de17b
load env vars using python-dotenv
2017-07-16 13:37:51 -07:00
David Lord
b96a1c0f99
style cleanup
...
[ci skip]
2017-06-16 06:59:37 -07:00
Miguel Grinberg
90f4944c17
document wsgi.py and app.py default modules
2017-06-15 12:15:38 -07:00
Anthony Plunkett
fd9e25f42c
PyCharm Run Configuration Guide
2017-05-24 18:50:25 -07:00
Grey Li
3d20e9184d
Add example for virtualenv integration in cli docs ( #2234 )
2017-04-07 07:10:43 -07:00
Sven-Hendrik Haase
41d4c60e0b
Style the flask command consistently ( #2120 )
...
It's done like this in other parts of this doc.
2016-12-21 21:06:48 +01:00
Andrew Arendt
06dd928b8d
Remove nonsense from cli docs
2016-09-14 20:03:21 +02:00
David Lord
d775103a03
clean up code formatting in some docs
...
fix warnings while building docs
2016-06-26 13:03:29 -07:00
Jochen Kupperschmidt
0d038bcccb
Fix typo in cli docs
2016-05-31 16:24:11 +02:00
Armin Ronacher
d7f5bbb4e1
Added plugin support to the cli
2016-05-26 21:29:01 +02:00
Armin Ronacher
e3cdb453fd
1.0 -> 0.11 in the docs
2016-05-26 20:52:17 +02:00
Armin Ronacher
4cb36cbafc
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
ThiefMaster
e9e7e5e0c5
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
2016-05-23 14:43:23 +02:00
David Cole
e39fd36988
Small Typo fix
2014-11-30 19:28:36 -08:00
defuz
ec806c1bbe
docs: :command:pip, :option:--debug
2014-11-05 07:03:55 +03:00
defuz
b5c9ad68dd
docs: :file:app.py, :file:yourapp/templates
2014-11-05 06:45:22 +03:00
Jeff Widman
54ee981660
Fix typo: "lated later" >> "added later"
2014-10-25 03:14:01 -07:00
Armin Ronacher
ef6ae15126
Refactored the scripting interface greatly.
2014-08-25 16:50:22 +02:00
Jihyeok Seo
c98bad6207
Fix typo in cli docs
2014-07-06 00:32:31 +09:00
Ian Connolly
a80a7ce9d6
Fixes #1051
2014-05-13 22:11:05 +01:00
Julen Ruiz Aizpuru
6acd707315
Docs: fixes
2014-05-07 22:37:13 +02:00
Armin Ronacher
f7c31e29b0
Greatly refactored click integration and documented it a bit more.
2014-05-07 21:35:51 +02:00