Crate clap_utils

source ·

Re-exports

pub use anyhow;
pub use atty;
pub use clap;
pub use dialoguer;
pub use strum;

Modules

Macros

Return early with an error.
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 for Result.
Parse command-line arguments into Self.

Type Definitions

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.