[][src]Module polyhorn_cli::core

Types and functions that are shared between platform-specific implementations of Polyhorn CLI commands.

Modules

tasks

Tasks and context relevant for building and running on any platform.

Structs

CargoBuild

Builder for cargo build commands.

CargoRustc

Builder for cargo build commands.

Executioner

Executioner that manes the execution of a sequence of a tasks.

Manager

Manager that can provide additional utilities (e.g. progress tracking) to tasks.

Traits

Task

Represents an individual task that a CLI command is composed of.

Functions

change_crate_type

Changes the crate type of the manifest at the given path and returns a guard that restores any changes made to the manifest when it leaves scope.

rasterize

Rasterizes an SVG at the given source path with the given zoom and writes the result to the given destination path.