feat(shared): allow cli parametrized decorators (#1527)

This commit is contained in:
Jonas L 2022-01-20 06:30:35 +01:00 committed by GitHub
parent 2de1ce6e0d
commit 1561353b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 58 additions and 48 deletions

View file

@ -16,7 +16,7 @@ PYPO_HOME = "/var/tmp/airtime/pypo/"
@click.command()
@cli_logging_options
@cli_logging_options()
def cli(log_level: int, log_filepath: Optional[Path]):
"""
Run liquidsoap.