Google Flights MCP, CLI and Python Library
Rename --seat to --class
Punit Aranid96f0ca4af6b
diff --git a/fli/cli/commands/cheap.py b/fli/cli/commands/cheap.pyindex 0cf7fac..c2b61da 100644--- a/fli/cli/commands/cheap.py+++ b/fli/cli/commands/cheap.py@@ -27,8 +27,8 @@ def cheap(seat: Annotated[str,typer.Option(- "--seat",- "-s",+ "--class",+ "-c",help="Seat type (ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST)",),] = "ECONOMY",@@ -36,7 +36,7 @@ def cheap(str,typer.Option("--stops",- "-x",+ "-s",help="Maximum number of stops (ANY, 0 for non-stop, 1 for one stop, 2+ for two stops)",),] = "ANY",diff --git a/fli/cli/commands/search.py b/fli/cli/commands/search.pyindex e36b5ae..72add55 100644--- a/fli/cli/commands/search.py+++ b/fli/cli/commands/search.py@@ -96,8 +96,8 @@ def search(seat: Annotated[str,typer.Option(- "--seat",- "-s",+ "--class",+ "-c",help="Seat type (ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST)",),] = "ECONOMY",@@ -105,7 +105,7 @@ def search(str,typer.Option("--stops",- "-x",+ "-s",help="Maximum number of stops (ANY, 0 for non-stop, 1 for one stop, 2+ for two stops)",),] = "ANY",