Skip to main content

confirm_program

Function confirm_program 

Source
pub fn confirm_program(
    policy: &LoadedPolicy,
    flag: Option<&str>,
) -> Option<String>
Expand description

Program from the flag, then COMPUTER_USE_CONFIRM_CMD, then user policy, then admin.

Unit tests do not read the environment variable. The CLI process does.