INNER CODE UNIT · Python
app_main
CaddyGlow/ccproxy-api · ccproxy/cli/main.py:312
def app_main(
ctx: typer.Context,
version: Annotated[
bool,
typer.Option(
"--version",
"-V",
callback=version_callback,
is_eager=True,
help="Show version and exit.",
),
] = False,
config: Annotated[
Path | None,
typer.Option(
"--config",
"-c",
help="Path to configuration file (TOML, JSON, or YAML)",