MCPcopy Create free account
hub / github.com/daipendency/daipendency / make_command_parser

Function make_command_parser

src/cli/mod.rs:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31pub 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
42fn make_language_option() -> impl Parser<Option<Language>> {
43 long("language")

Calls 2

make_extract_subcommandFunction · 0.85