2 $ 03_04_subcommands help
4 A simple to use, efficient, and full-featured Command Line Argument Parser
7 03_04_subcommands[EXE] <SUBCOMMAND>
10 -h, --help Print help information
11 -V, --version Print version information
14 add Adds files to myapp
15 help Print this message or the help of the given subcommand(s)
17 $ 03_04_subcommands help add
18 03_04_subcommands[EXE]-add [..]
22 03_04_subcommands[EXE] add [NAME]
28 -h, --help Print help information
29 -V, --version Print version information
31 $ 03_04_subcommands add bob
32 'myapp add' was used, name is: Some("bob")
36 Because we set [`Command::arg_required_else_help`][crate::Command::arg_required_else_help]:
41 A simple to use, efficient, and full-featured Command Line Argument Parser
44 03_04_subcommands[EXE] <SUBCOMMAND>
47 -h, --help Print help information
48 -V, --version Print version information
51 add Adds files to myapp
52 help Print this message or the help of the given subcommand(s)
56 Because we set [`Command::propagate_version`][crate::Command::propagate_version]:
58 $ 03_04_subcommands --version
61 $ 03_04_subcommands add --version
62 03_04_subcommands[EXE]-add [..]