Skip to main content

run

Function run 

Source
pub async fn run(
    settings: &Settings,
    target: &str,
    overlay: Option<&Path>,
) -> Result<(), CliError>
Expand description

Run the explain command.

Compiles the project, spins up an ephemeral Materialize Docker container, stages dependencies in a temporary schema, creates the target object, runs EXPLAIN, and cleans up.

overlay optionally points to a JSON file mapping absolute paths to contents that override the on-disk project files during compilation. The VSCode extension uses this to compile against unsaved editor buffers.