Skip to main content

maybe_run_demo_if_empty

Function maybe_run_demo_if_empty 

Source
pub fn maybe_run_demo_if_empty(
    dir: &Path,
) -> Result<Option<DemoOutcome>, CliError>
Expand description

Run run_demo when dir is missing or empty; otherwise leave it alone.