1 | mod help; |
2 | #[cfg (feature = "help" )] |
3 | mod help_template; |
4 | mod usage; |
5 | |
6 | pub(crate) mod fmt; |
7 | #[cfg (feature = "help" )] |
8 | pub(crate) mod textwrap; |
9 | |
10 | pub(crate) use self::help::write_help; |
11 | #[cfg (feature = "help" )] |
12 | pub(crate) use self::help_template::AutoHelp; |
13 | #[cfg (feature = "help" )] |
14 | pub(crate) use self::help_template::HelpTemplate; |
15 | #[cfg (feature = "help" )] |
16 | pub(crate) use self::textwrap::core::display_width; |
17 | #[cfg (feature = "help" )] |
18 | pub(crate) use self::textwrap::wrap; |
19 | pub(crate) use self::usage::Usage; |
20 | |
21 | pub(crate) const TAB: &str = " " ; |
22 | #[cfg (feature = "help" )] |
23 | pub(crate) const TAB_WIDTH: usize = TAB.len(); |
24 | |