pub fn init(
options: InitOptions,
reporter: &mut dyn Reporter,
) -> Result<InitReport>Expand description
Creates a starter treeboot config or init script.
Writes the selected init artifact to the requested path, or to the default path for its kind. Script artifacts are marked executable on Unix.
ยงErrors
Returns an error if the current directory cannot be resolved, the target already exists, or the target directory or file cannot be written.