Versions in this module Expand all Collapse all v0 v0.3.1 Aug 8, 2026 v0.3.0 Aug 8, 2026 v0.2.0 Aug 8, 2026 v0.1.0 Mar 4, 2026 Changes in this version + type AirlinesCmd struct + Lookup AirlinesLookupCmd + type AirlinesLookupCmd struct + Code string + func (c *AirlinesLookupCmd) Run(g *Globals) error + type AirportsCmd struct + Search AirportsSearchCmd + type AirportsSearchCmd struct + Keyword string + func (c *AirportsSearchCmd) Run(g *Globals) error + type AuthCmd struct + Login AuthLoginCmd + Logout AuthLogoutCmd + Status AuthStatusCmd + type AuthLoginCmd struct + func (c *AuthLoginCmd) Run(g *Globals) error + type AuthLogoutCmd struct + func (c *AuthLogoutCmd) Run(g *Globals) error + type AuthStatusCmd struct + func (c *AuthStatusCmd) Run(g *Globals) error + type CLI struct + Airlines AirlinesCmd + Airports AirportsCmd + Auth AuthCmd + DryRun bool + ExitCodes ExitCodesCmd + Flights FlightsCmd + Hotels HotelsCmd + JSON bool + NoInput bool + Plain bool + ResultsOnly bool + Schema SchemaCmd + Select []string + Test bool + Verbose bool + type ExitCodeEntry struct + Code int + Description string + Name string + func ExitCodeTable() []ExitCodeEntry + type ExitCodesCmd struct + func (c *ExitCodesCmd) Run(g *Globals) error + type FlightsCmd struct + Price FlightsPriceCmd + Search FlightsSearchCmd + Seatmap FlightsSeatmapCmd + type FlightsPriceCmd struct + OfferID string + func (c *FlightsPriceCmd) Run(g *Globals) error + type FlightsSearchCmd struct + Adults int + Children int + Currency string + Date string + From string + Max int + MaxPrice int + NonStop bool + Return string + To string + TravelClass string + func (c *FlightsSearchCmd) Run(g *Globals) error + type FlightsSeatmapCmd struct + OfferID string + func (c *FlightsSeatmapCmd) Run(g *Globals) error + type Globals struct + CLI *CLI + Config *config.Config + Ctx context.Context + OutOpts output.Options + Version string + func NewGlobals(cli *CLI) (*Globals, error) + func (g *Globals) NewAPIClient() (*api.Client, error) + type HotelsBookCmd struct + GuestEmail string + GuestName string + OfferID string + func (c *HotelsBookCmd) Run(g *Globals) error + type HotelsCmd struct + Book HotelsBookCmd + Offers HotelsOffersCmd + Search HotelsSearchCmd + type HotelsOffersCmd struct + Adults int + CheckIn string + CheckOut string + Currency string + HotelID string + Rooms int + func (c *HotelsOffersCmd) Run(g *Globals) error + type HotelsSearchCmd struct + City string + Lat float64 + Lng float64 + Radius int + Ratings []int + func (c *HotelsSearchCmd) Run(g *Globals) error + type SchemaCmd struct + Command string + func (c *SchemaCmd) Run(g *Globals) error