1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! cata(lyst) for building complex CLI tools.
//!
//! This crate provides a collection of utilities that make it easier to build
//! CLI tools.
//!
//! - [`command`]: recursively traverse a tree of clap commands and subcommands
//! calling lifecycle hooks at each level.
//! - [`mod@file`]: derive `clap::value_parser` for deserializing values from
//! files. Detects the file format from the extension and currently supports
//! JSON in addition to YAML.
//! - [`output`]: structured output for commands. Users can choose the output
//! format they would like, currently supporting JSON, YAML and pretty.\
//! - [`telemetry`]: a simple way to track activity and errors for your CLI.
pub use ;
use Result;
use ;
pub use crate::;
/// Executes a command and all of its subcommands.
///
/// Recursively calls `pre_run`, `run`, and `post_run` on the command and all of
/// its subcommands.