Expand description
CLI that makes it easy to work with Polyhorn projects. Specifically, the CLI takes care of building, running and distributing cross-platform apps written with Polyhorn.
Modules§
- android
- Tasks and types for Android-specific operations.
- commands
- Implementations for platform-independent Polyhorn-cli commands.
- core
- Types and functions that are shared between platform-specific implementations of Polyhorn CLI commands.
- ios
- Tasks and types for iOS-specific operations.
- spec
- Types and functions that implement the specification of
Polyhorn.tomlfiles. - template
- Utilities for quickly building a source tree from a series of templates.
- test
- Types to run a test feedback server.
Structs§
- Config
- Contains a configuration that is passed to the implementation of each
(relevant) CLI command. A notable exception is
polyhorn new, which doesn’t require a pre-existingPolyhorn.tomlmanifest file.
Functions§
- cli
- Entry point of the CLI that is used by the main
polyhornpackage. Thepolyhorn-clipackage itself doesn’t provide a binary. This is because we want to ship a library namedpolyhornand a CLI with the same name (but different crates obviously can’t share the same name). So instead, the library gets to bepolyhornand comes with a binary target that simply callspolyhorn_cli::cli().