Crate pre

source · []

Re-exports

pub use config::Config;
pub use config::ChronicleConfig;
pub use config::dir;
pub use config::backup_dir;
pub use config::config_path;
pub use config::draft_path;
pub use config::read_config;
pub use config::write_config;

Modules

Macros

Construct an ad-hoc error from a string or existing non-anyhow error value.

Create an Arg from a usage string.

Return early with an error.

Structs

The abstract representation of a command line argument. Used to set all the options and relationships that define a valid argument for the program.

Container for parse results.

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

Enums

Application level settings, which affect how Command operates

Behavior of arguments when they are encountered while parsing

Traits

Provides the context method for Result.

Functions

Type Definitions

Build a command-line interface.