Skip to main content

build_module_command_with_limit

Function build_module_command_with_limit 

Source
pub fn build_module_command_with_limit(
    module_def: &ModuleDescriptor,
    executor: Arc<dyn ModuleExecutor>,
    help_text_max_length: usize,
) -> Result<Command, CliError>
Expand description

Build a clap Command for a single module definition with a configurable help text max length.