Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 836 Bytes

File metadata and controls

26 lines (20 loc) · 836 Bytes

CLI (pn)

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.

Subcommands

  • pn init [name]: scaffold a new project (creates app/, 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 local build/ directory.

::: pythonnative.cli.pn options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Next steps