Skip to main content

handle_init

Function handle_init 

Source
pub fn handle_init(cmd: InitCommand, ctx: &CliConfig) -> Result<()>
Expand description

Handle the init command with Gather → Execute → Display pattern.

Args:

  • cmd: Parsed InitCommand from the CLI.
  • ctx: CLI configuration with passphrase provider and repo path.

Usage:

handle_init(cmd, &ctx)?;