MCPcopy Index your code
hub / github.com/FrameworkComputer/inputmodule-rs / main

Function main

inputmodule-control/src/main.rs:58–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58fn main() {
59 let args: Vec<String> = std::env::args().collect();
60 let args = ClapCli::parse_from(args);
61
62 match args.command {
63 Some(_) => serial_commands(&args),
64 None => {
65 if args.list {
66 find_serialdevs(&args, false);
67 }
68 }
69 }
70}

Callers

nothing calls this directly

Calls 2

serial_commandsFunction · 0.85
find_serialdevsFunction · 0.85

Tested by

no test coverage detected