pub trait CliFlags {
// Required methods
fn base_flags() -> Vec<&'static str>;
fn glob_flag(glob: &str) -> String;
// Provided method
fn get((): ()) -> Vec<String> { ... }
}Expand description
Trait for generating CLI flags for search tools.
Required Methods§
Sourcefn base_flags() -> Vec<&'static str>
fn base_flags() -> Vec<&'static str>
Returns the base flags for the CLI tool.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".