MCPcopy Create free account
hub / github.com/JamieMason/syncpack / config_option

Function config_option

src/cli.rs:372–380  ·  view source on GitHub ↗
(_command: &str)

Source from the content-addressed store, hash-verified

370}
371
372fn config_option(_command: &str) -> Arg {
373 Arg::new("config")
374 .long("config")
375 .value_name("PATH")
376 .value_parser(ValueParser::new(parse_config_path))
377 .long_help(cformat!(
378 r#"Path to a specific config file to use. When set, config file discovery is skipped."#
379 ))
380}
381
382fn parse_config_path(raw: &str) -> Result<PathBuf, String> {
383 let path = PathBuf::from(raw);

Callers 1

createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…