Skip to main content

CliOptions

Trait CliOptions 

Source
pub trait CliOptions: Sized { }
Expand description

Implemented by #[derive(CliOptions)] on structs.

Provides parse_args(&[&str]) for use both as a standalone parser and as a subcommand option parser inside CliCommand.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CliOptions for ()

Implementors§