Skip to main content

command_card

Function command_card 

Source
pub fn command_card(line: &str, title: Option<String>) -> ApprovalCard
Expand description

The approval card for running line, from its structure: the folders it only looks inside, and the one effect worth a warning (deleting, with the targets when they can be read, or sending a write to a service). title is the call’s own few words for itself. The line is shown with every secret value hidden (crate::sanitize::redact_command_secrets).