Command-line interface for Flet, a Python framework for building real-time web, desktop, and mobile apps. Current version 0.84.0, actively developed with frequent releases.
pip install flet-cliVerified import paths — ran on the pinned version, not inferred.
Create a minimal Flet app. Save as hello.py and run with 'flet run hello.py' (web) or 'flet run hello.py --ios' for mobile.
Use ft.app(target=main) instead of ft.app(main).
Use 'flet pack' instead of 'flet build'.
Use 'flet run --ios' or 'flet run --android' to specify target platform.
pip install flet
pip install flet-cli and ensure Python scripts directory is in PATH.
Change ft.app(main) to ft.app(target=main).