Skip to main content

add_dispatch_flags

Function add_dispatch_flags 

Source
pub fn add_dispatch_flags(cmd: Command) -> Command
Expand description

Add the standard dispatch flags (–input, –yes, –large-input, –format, –sandbox) to a clap Command. Used by both exec_command() and the external subcommand re-parser in main.rs.