MCPcopy Create free account
hub / github.com/Canop/codesort / print_help

Method print_help

src/cli/args.rs:66–76  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

64
65impl Args {
66 pub fn print_help(&self) {
67 let mut printer = clap_help::Printer::new(Args::command())
68 .with("introduction", INTRO)
69 .with("options", clap_help::TEMPLATE_OPTIONS_MERGED_VALUE)
70 .without("author");
71 let skin = printer.skin_mut();
72 skin.headers[0].compound_style.set_fg(ansi(79));
73 skin.bold.set_fg(ansi(79));
74 skin.italic = termimad::CompoundStyle::with_fg(ansi(79));
75 printer.print_help();
76 }
77 pub fn lang(&self) -> Language {
78 match self.lang {
79 LangChoice::C => Language::C,

Callers 1

runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected