MCPcopy Index your code
hub / github.com/skygragon/leetcode-cli / initColor

Function initColor

lib/cli.js:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14// global config < local config < cli params
15// Color is a tricky one so we manually handle it here.
16function initColor() {
17 chalk.enabled = config.color.enable && chalk.enabled;
18 chalk.init();
19 chalk.setTheme(config.color.theme);
20}
21
22function initIcon() {
23 icon.init();

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected