Skip to main content

prepare

Function prepare 

Source
pub fn prepare<H: Host>(
    host: &mut H,
    argv: &[String],
) -> Result<Plan, ExitCategory>
Expand description

Parses the grammar and resolves configuration.

No repository connection is opened, so a usage or configuration error is always reported before any connection attempt.

ยงErrors

Returns the exit category of a rejected invocation. The rejection has already been written as a redacted diagnostic.