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
Anthony Plunkett
f52f3ef31d
PyCharm Run Configuration Guide
2017-05-24 18:50:25 -07:00
Grey Li
ec18fe9477
Add example for virtualenv integration in cli docs ( #2234 )
2017-04-07 07:10:43 -07:00
Sven-Hendrik Haase
0ba1a872b7
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
270355abdc
Remove nonsense from cli docs
2016-09-14 20:03:21 +02:00
David Lord
1928f28a68
clean up code formatting in some docs
...
fix warnings while building docs
2016-06-26 13:03:29 -07:00
Jochen Kupperschmidt
83ae787f97
Fix typo in cli docs
2016-05-31 16:24:11 +02:00
Armin Ronacher
9594876c1f
Added plugin support to the cli
2016-05-26 21:29:01 +02:00
Armin Ronacher
f9ea3fe026
1.0 -> 0.11 in the docs
2016-05-26 20:52:17 +02:00
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
2016-05-23 14:43:23 +02:00
David Cole
cc8f47cf62
Small Typo fix
2014-11-30 19:28:36 -08:00
defuz
02694d609f
docs: :command:`pip`, :option:`--debug`
2014-11-05 07:03:55 +03:00
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
2014-11-05 06:45:22 +03:00
Jeff Widman
193b94b0ea
Fix typo: "lated later" >> "added later"
2014-10-25 03:14:01 -07:00
Armin Ronacher
932f7d7cbb
Refactored the scripting interface greatly.
2014-08-25 16:50:22 +02:00
Jihyeok Seo
f5b15c2a35
Fix typo in cli docs
2014-07-06 00:32:31 +09:00
Ian Connolly
367a168d86
Fixes #1051
2014-05-13 22:11:05 +01:00
Julen Ruiz Aizpuru
a700cb2a76
Docs: fixes
2014-05-07 22:37:13 +02:00
Armin Ronacher
3569fc2441
Greatly refactored click integration and documented it a bit more.
2014-05-07 21:35:51 +02:00
Armin Ronacher
a3ad5405a6
Updated documentation once more for new cli.
2014-04-29 01:03:32 +02:00