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

Method flag

src/cmd.rs:63–65  ·  view source on GitHub ↗
(&self, flag: &str)

Source from the content-addressed store, hash-verified

61
62impl<'f> Context<'f> {
63 pub fn flag(&self, flag: &str) -> Option<&Flag> {
64 self.flag.get(flag)
65 }
66
67 pub fn value_of(&self, flag: &str) -> &str {
68 match self.flag.get(flag) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected