Reference for the pn console script. The implementation lives in
pythonnative.cli.pn; this page renders its docstrings directly so
the documented behavior never drifts from the code.
pn init [name]: scaffold a new project (createsapp/,pythonnative.json,requirements.txt,.gitignore).pn run android|ios: build and run on a connected device or simulator. Flags:--prepare-only,--hot-reload,--no-logs.pn clean: remove the localbuild/directory.
::: pythonnative.cli.pn options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]
- See the Getting started walkthrough.
- Read about Hot reload when you turn on
--hot-reload.