MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / parse_from_str

Method parse_from_str

src/options.rs:77–80  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

75
76impl Options {
77 pub fn parse_from_str(s: &str) -> Result<Self, Box<dyn Error>> {
78 let flags = shellwords::split(s)?;
79 Self::parse_from_args(&flags)
80 }
81
82 pub fn parse_from_args(flags: &[String]) -> Result<Self, Box<dyn Error>> {
83 let app = make_options_parser();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected