MCPcopy Create free account
hub / github.com/VSCodeConfigHelper/v4 / parse

Function parse

src-tauri/src/cli/args.rs:149–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149pub fn parse() -> Result<CliArgs> {
150 let args = CliArgs::try_parse()?;
151 log::setup(args.log_path.as_ref(), args.verbose.log_level_filter())?;
152 tasks::statistics::set(!args.no_stats);
153 if args.skip_ext_manage {
154 tasks::extension::disable();
155 }
156 Ok(args)
157}
158
159pub fn early_exit(args: &CliArgs) -> bool {
160 if args.help {

Callers 1

runFunction · 0.85

Calls 3

disableFunction · 0.85
setupFunction · 0.70
setFunction · 0.50

Tested by

no test coverage detected