feat: replace click envar with auto_envvar_prefix (#1829)
This commit is contained in:
parent
623655e3d0
commit
d098671f3b
5 changed files with 6 additions and 9 deletions
|
@ -7,13 +7,14 @@ from typing import Optional
|
|||
|
||||
import click
|
||||
from libretime_shared.cli import cli_logging_options
|
||||
from libretime_shared.config import DEFAULT_ENV_PREFIX
|
||||
from libretime_shared.logging import level_from_name, setup_logger
|
||||
from loguru import logger
|
||||
|
||||
from . import generate_liquidsoap_cfg
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.command(context_settings={"auto_envvar_prefix": DEFAULT_ENV_PREFIX})
|
||||
@cli_logging_options()
|
||||
def cli(log_level: int, log_filepath: Optional[Path]):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue