INNER CODE UNIT · Python

cli

DHI/terracotta · terracotta/scripts/cli.py:31

def cli(
    ctx: click.Context,
    config: Optional[Mapping[str, Any]] = None,
    loglevel: Optional[str] = None,
) -> None:
    """The command line interface for the Terracotta tile server.

    All flags must be passed before specifying a subcommand.

    Example:

        $ terracotta -c config.toml connect localhost:5000

    """
    if ctx.invoked_subcommand is None:
        click.echo(ctx.get_help())

    # update settings from config file

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…