Skip to main content

check_command

Function check_command 

Source
pub fn check_command(source: &str) -> bool
Expand description

Check if Rust source code structurally matches the Command pattern.

Looks for traits with execute/run methods, or enums used for dispatch.