Skip to main content

set

Function set 

Source
pub fn set(
    directory: &Path,
    profiles_dir: Option<&Path>,
    name: &str,
) -> Result<(), CliError>
Expand description

Record name as the project default.

Validates that the profile exists in profiles.toml so typos fail at set time rather than at the next command invocation.