Skip to main content

run

Function run 

Source
pub fn run(
    args: RunArgs,
    config: PathBuf,
    registry: &dyn ProjectRegistry,
) -> Result<(), CliError>
Expand description

Registers the command in the resolved project, then runs it in place. On success this replaces the current process, so it does not return; any error short-circuits before the command runs.

ยงErrors

Returns CliError if the project cannot be resolved, the workspace file cannot be updated, or the command fails to start.