Skip to main content

add_lang_argument

Function add_lang_argument 

Source
pub fn add_lang_argument(
    command: Command,
    languages: &[&'static str],
) -> Command
Expand description

Add a --lang argument to the command. This argument will be optional if there is only one language