fix: resolve typer/click compatibility issue with make_metavar error

Fixed TypeError: Parameter.make_metavar() missing 1 required positional argument: 'ctx'
by correcting typer.Option(...) usage for optional parameters with default None values.

Bump version to v0.4.2
This commit is contained in:
2025-08-19 08:57:37 +02:00
parent bcde9fccf5
commit d3b5b6b6fd
2 changed files with 2 additions and 2 deletions

View File

@@ -448,7 +448,7 @@ def get_practice_pdf(
@app.command("search")
def parse_schedule(
age_group: Annotated[AgeGroup | None, typer.Option(...)] = None,
age_group: Annotated[AgeGroup | None, typer.Option()] = None,
event_type_filter: Annotated[
EventType | None,
typer.Option("--type", help="Only display events of this type"),

View File

@@ -1,6 +1,6 @@
[project]
name = "myice"
version = "v0.4.1"
version = "v0.4.2"
description = "myice parsing"
authors = [
{ name = "Rene Luria", "email" = "<rene@luria.ch>"},