MCPcopy Create free account
hub / github.com/csskit/csskit / colors

Method colors

crates/csskit/src/main.rs:25–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23
24impl GlobalConfig {
25 pub fn colors(&self) -> bool {
26 match self.color {
27 ColorChoice::Auto => stderr().is_terminal(),
28 ColorChoice::Always => true,
29 ColorChoice::Never => false,
30 }
31 }
32}
33
34#[derive(Debug, Parser)]

Callers 6

runMethod · 0.80
runMethod · 0.80
hint_no_inputFunction · 0.80
hint_bad_sheetFunction · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected