Crate clap_utils
source ·Re-exports§
Modules§
Macros§
- Return early with an error.
- Return early with an error if a condition is not satisfied.
- define and pub use the mod
- define a new subcommand
Structs§
- The
Error
type, a wrapper around a dynamic error type.
Enums§
Traits§
- Provides the
context
method forResult
. - Parse command-line arguments into
Self
.
Type Aliases§
Result<T, Error>
Attribute Macros§
- Annotating a trait or enum definition with an
#[enum_dispatch]
attribute will register it with the enum_dispatch library, allowing it to be used to generate impl blocks elsewhere.
Derive Macros§
- Converts strings to enum variants based on their name.
- Generates the
Parser
implementation.