Skip to main content

prepare

Function prepare 

Source
pub fn prepare(
    path: &Path,
    provider: Option<&str>,
    model: Option<&str>,
    region: Option<&str>,
    force: bool,
    no_verify: bool,
) -> Result<Prepared, Box<CommandResult>>
Expand description

Writes the configuration and (unless no_verify) runs its checks on the untouched code. A refusal comes back as Err.

§Errors

init’s refusal (a file exists, no project, …).