MCPcopy Create free account
hub / github.com/auula/falsework / build

Method build

src/cmd.rs:27–35  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

25
26impl<'c, 'f> CommandItem<'c, 'f> {
27 pub fn build(&self) -> Command<'c, 'f> {
28 Command {
29 run: self.run,
30 long: self.long,
31 short: self.short,
32 r#use: self.r#use,
33 flags: HashMap::new(),
34 }
35 }
36}
37
38

Callers 3

test_command_buildFunction · 0.80
test_command_addFunction · 0.80
test_add_commandsFunction · 0.80

Calls 1

newFunction · 0.85

Tested by 3

test_command_buildFunction · 0.64
test_command_addFunction · 0.64
test_add_commandsFunction · 0.64