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§
- anyhow
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - arg
- Create an
Arg
from a usage string. - bail
- Return early with an error.
Structs§
- Arg
- The abstract representation of a command line argument. Used to set all the options and relationships that define a valid argument for the program.
- ArgMatches
- Container for parse results.
- Error
- The
Error
type, a wrapper around a dynamic error type.
Enums§
- AppSettings
- Application level settings, which affect how
Command
operates - ArgAction
- Behavior of arguments when they are encountered while parsing
Traits§
- Context
- Provides the
context
method forResult
.