(s: &str)
| 75 | |
| 76 | impl 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(); |
nothing calls this directly
no outgoing calls
no test coverage detected