Skip to content

Add a CLI interface for Fast Flight#79

Open
swiftlysingh wants to merge 3 commits intoAWeirdDev:v2from
swiftlysingh:main
Open

Add a CLI interface for Fast Flight#79
swiftlysingh wants to merge 3 commits intoAWeirdDev:v2from
swiftlysingh:main

Conversation

@swiftlysingh
Copy link

Summary

  • Introduced a production-ready flights-cli command that wraps get_flights, supports multi-segment itineraries, seat classes, passenger counts, fetch modes, HTML/JS data-source switching, JSON output, and a --best-only toggle—built so I could drive the scraper directly from the terminal.
  • Added the CLI entry point wiring in pyproject.toml/setup.py and pulled in the missing typing_extensions dependency so installations surface the flights-cli tool.
  • Authored docs/cli.md documenting installation, argument formats (including passenger defaults), examples for one-way/round-trip/multi-city searches, and pointers to existing docs.

Testing

  • python -m fast_flights.cli --help
  • pip install -e .
  • flights-cli --help

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Sep 30, 2025
Updated installation instructions for the CLI to use the GitHub repository.
@guitaripod
Copy link

guitaripod commented Feb 16, 2026

I'm using this with Claude Code

nvm, building my own. This one's too out-of-date. Opening a PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants