mirror of https://github.com/pallets/flask.git
Merge pull request #4497 from greyli/bp-param-docs
Add missing docstring for Blueprint cli_group
This commit is contained in:
commit
0305d31cb8
|
|
@ -153,6 +153,8 @@ class Blueprint(Scaffold):
|
||||||
this based on ``import_name``. In certain situations this
|
this based on ``import_name``. In certain situations this
|
||||||
automatic detection can fail, so the path can be specified
|
automatic detection can fail, so the path can be specified
|
||||||
manually instead.
|
manually instead.
|
||||||
|
:param cli_group: The name of the blueprint's CLI group. If not set,
|
||||||
|
the blueprint name will be used.
|
||||||
|
|
||||||
.. versionchanged:: 1.1.0
|
.. versionchanged:: 1.1.0
|
||||||
Blueprints have a ``cli`` group to register nested CLI commands.
|
Blueprints have a ``cli`` group to register nested CLI commands.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue