Skip to main content

setup

Function setup 

Source
pub fn setup(
    opts: &SetupOpts,
    prompter: &mut dyn Prompter,
    git: &dyn GitConfig,
) -> Result<SetupReport, SetupError>
Expand description

Run the interactive setup wizard.

git is injected so tests can avoid shelling out to a real git binary. In production, pass RealGitConfig.