()
| 29 | } |
| 30 | |
| 31 | pub fn make_command_parser() -> OptionParser<Command> { |
| 32 | let extract = make_extract_subcommand(); |
| 33 | |
| 34 | let extract_dep = make_extract_dep_subcommand(); |
| 35 | |
| 36 | construct!([extract, extract_dep]) |
| 37 | .to_options() |
| 38 | .descr("A tool for extracting and documenting dependencies") |
| 39 | .header("daipendency") |
| 40 | } |
| 41 | |
| 42 | fn make_language_option() -> impl Parser<Option<Language>> { |
| 43 | long("language") |