Module prelude

Module prelude 

Source

Re-exports§

pub use crate::Highlight;
pub use crate::ShellType;
pub use crate::anyhow;
pub use crate::atty;
pub use crate::clap;
pub use crate::dialoguer;

Macros§

bail
Return early with an error.
mod_pub_use
define and pub use the mod
paste
subcmd
define a new subcommand

Structs§

Error
The Error type, a wrapper around a dynamic error type.

Traits§

Context
Provides the context method for Result.
Parser
Parse command-line arguments into Self.

Type Aliases§

Result
Result<T, Error>

Attribute Macros§

async_trait
enum_dispatch
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§

EnumString
Converts strings to enum variants based on their name.
Parser
Generates the Parser implementation.