Skip to main content

init

Function init 

Source
pub fn init(
    name: &str,
    host: &str,
    manifest_path: &Path,
    force: bool,
) -> Result<PathBuf, Vec<DoctorFailure>>
Expand description

fz init: writes a new venture manifest — name and host, no modules yet. Refuses to overwrite an existing manifest unless --force.

§Errors

Coded failures when the file exists without --force, the name or host is empty, or the manifest cannot be written.