The flights command attaches a Google Flights tfs deep-link per result; the multi command doesn't, so open-jaw itineraries have no bookable link. build_flight_booking_url already supports multi-city (a tuple of FlightResults, one per direction) — the multi command just never calls it.
--- a/src/fli/cli/commands/multi.py
+++ b/src/fli/cli/commands/multi.py
@@ def multi(...):
if not results:
typer.echo("No flights found.")
raise typer.Exit(1)
- display_flight_results(results, trip_type=trip_type)
+ # build_flight_booking_url already supports multi-city (a tuple of
+ # FlightResults, one per direction) — the multi command just never
+ # called it, so open-jaw results had no bookable link (unlike `flights`).
+ booking_urls = [
+ search_client.build_flight_booking_url(result) for result in results
+ ]
+ display_flight_results(results, trip_type=trip_type, booking_urls=booking_urls)
The
flightscommand attaches a Google Flightstfsdeep-link per result; themulticommand doesn't, so open-jaw itineraries have no bookable link.build_flight_booking_urlalready supports multi-city (a tuple ofFlightResults, one per direction) — themulticommand just never calls it.