Skip to main content

is_first_run

Function is_first_run 

Source
pub fn is_first_run(_models_dir: &Path) -> bool
Expand description

Returns true if this is the first run (no bootstrap completed yet).

Used by the no-args entry point to decide between wizard and ShellClient. Checks for the presence of bootstrap-pubkeys in the credentials directory, which is written at the end of a successful bootstrap.