Expand description
Tools for composing CLI options.
The main thing in this module is Opts
, which compose all the strongly
typed CLI options from Parser
, Runner
and Writer
, and provide
filtering based on Regex
or tag expressions.
The idea behind this is that Parser
, Runner
and/or Writer
may
want to introduce their own CLI options to allow tweaking themselves, but we
still do want them combine in a single CLI and avoid any boilerplate burden.
If the implementation doesn’t need any CLI options, it may just use the
prepared cli::Empty
stub.
Structs
Composes two clap::Args
derivers together.
Empty CLI options.
Traits
Parse a set of arguments into a user-defined container.
Parse command-line arguments into Self
.