2 $ 03_04_subcommands help
3 A simple to use, efficient, and full-featured Command Line Argument Parser
5 Usage: 03_04_subcommands[EXE] <COMMAND>
8 add Adds files to myapp
9 help Print this message or the help of the given subcommand(s)
13 -V, --version Print version
15 $ 03_04_subcommands help add
18 Usage: 03_04_subcommands[EXE] add [NAME]
25 -V, --version Print version
27 $ 03_04_subcommands add bob
28 'myapp add' was used, name is: Some("bob")
32 Because we set [`Command::arg_required_else_help`][crate::Command::arg_required_else_help]:
36 A simple to use, efficient, and full-featured Command Line Argument Parser
38 Usage: 03_04_subcommands[EXE] <COMMAND>
41 add Adds files to myapp
42 help Print this message or the help of the given subcommand(s)
46 -V, --version Print version
50 Because we set [`Command::propagate_version`][crate::Command::propagate_version]:
52 $ 03_04_subcommands --version
55 $ 03_04_subcommands add --version