Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

fix(cli): exclude --show-completion and --install-completion from flights redirect

Punit Arani63371521548d
diff --git a/fli/cli/main.py b/fli/cli/main.py
index 6b83e85..fcb8cad 100644
--- a/fli/cli/main.py
+++ b/fli/cli/main.py
@@ -41,7 +41,16 @@ def cli():
args.append("--help")
# If the first argument isn't a command, treat as flights search
- if args[0] not in ["airports", "dates", "flights", "multi", "--help", "-h"]:
+ if args[0] not in [
+ "airports",
+ "dates",
+ "flights",
+ "multi",
+ "--help",
+ "-h",
+ "--show-completion",
+ "--install-completion",
+ ]:
sys.argv.insert(1, "flights")
app()
diff --git a/uv.lock b/uv.lock
index e3fb2d4..2fa9b8d 100644
--- a/uv.lock
+++ b/uv.lock
@@ -637,7 +637,7 @@ wheels = [
[[package]]
name = "flights"
-version = "0.8.4"
+version = "0.8.5"
source = { editable = "." }
dependencies = [
{ name = "babel" },