forked from Github-Mirrors/canaille
fix: remove useless Flask CLI options
This commit is contained in:
parent
405da6a680
commit
98e5849a65
1 changed files with 7 additions and 2 deletions
|
@ -7,9 +7,14 @@ import canaille.oidc.commands
|
||||||
from canaille import create_app
|
from canaille import create_app
|
||||||
|
|
||||||
|
|
||||||
@click.group(cls=FlaskGroup, create_app=create_app)
|
@click.group(
|
||||||
|
cls=FlaskGroup,
|
||||||
|
create_app=create_app,
|
||||||
|
add_version_option=False,
|
||||||
|
add_default_commands=False,
|
||||||
|
)
|
||||||
def cli():
|
def cli():
|
||||||
pass # pragma: no cover
|
"""Canaille management."""
|
||||||
|
|
||||||
|
|
||||||
canaille.app.commands.register(cli)
|
canaille.app.commands.register(cli)
|
||||||
|
|
Loading…
Reference in a new issue