confirm_shell_command

Function confirm_shell_command 

Source
pub fn confirm_shell_command(
    command: &str,
    working_dir: &str,
) -> ConfirmationResult
Expand description

Confirm shell command execution with the user

Shows the command in a box and presents options:

  1. Yes - proceed once
  2. Yes, and don’t ask again for this command type
  3. Type feedback to tell the agent what to do differently