Skip to main content

CliArgs

Trait CliArgs 

Source
pub trait CliArgs {
    // Required methods
    fn global_opts(&self) -> &GlobalOpts;
    fn config(&self) -> &Config;
}
Expand description

Trait for getting Command execution context.

Required Methods§

Source

fn global_opts(&self) -> &GlobalOpts

Source

fn config(&self) -> &Config

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§