Skip to main content

run_init

Function run_init 

Source
pub fn run_init(socket: Option<&str>, args: &InitArgs) -> Result<()>
Expand description

Run first-run config scaffolding behind top-level basil init.

socket is the resolved global --socket <path> flag (clap folds BASIL_SOCKET into it); it is threaded into the generated config’s socket = ... line. See init::run for the full precedence.