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

Function print_setup_help

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

Source from the content-addressed store, hash-verified

134}
135
136fn print_setup_help() {
137 println!("\n\x1b[33mSETUPS:\x1b[0m");
138 for (i, setup) in ENABLED_SETUPS.iter().enumerate() {
139 println!(
140 " \x1b[32m{:10}\x1b[0m - {}{} \x1b[38;5;242m[{}]\x1b[0m",
141 setup.id,
142 setup.name,
143 if i == 0 { " (默认)" } else { "" },
144 setup.description,
145 );
146 }
147}
148
149pub fn parse() -> Result<CliArgs> {
150 let args = CliArgs::try_parse()?;

Callers 1

early_exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected