On this page

createColors(colorsOptions?): Colors
Attributes
colorsOptions:<ColorsOptions>
Returns:<Colors>

getArguments(schema?): void

isColorSupported(): boolean
Returns:<boolean>

processArguments(args, config, values): null | Problem
Attributes

Returns object of arguments.

Attributes
description:<string>
multiple:<boolean>
simpleType:<SimpleType>

Returns object of arguments.

Attributes
description:<string>
multiple:<boolean>
negatedDescription:<string>
type:
<"string"> | <"number"> | <"boolean"> | <"path"> | <"enum"> | <"RegExp"> | <"reset">
[]

Attributes
bgBlack:<Function>
bgBlackBright:<Function>
bgBlue:<Function>
bgBlueBright:<Function>
bgCyan:<Function>
bgCyanBright:<Function>
bgGreen:<Function>
bgGreenBright:<Function>
bgMagenta:<Function>
bgMagentaBright:<Function>
bgRedBright:<Function>
bgWhite:<Function>
bgWhiteBright:<Function>
bgYellow:<Function>
bgYellowBright:<Function>
blackBright:<Function>
blueBright:<Function>
cyanBright:<Function>
greenBright:<Function>
hidden:<Function>
inverse:<Function>
italic:<Function>
magenta:<Function>
magentaBright:<Function>
redBright:<Function>
strikethrough:<Function>
underline:<Function>
whiteBright:<Function>
yellow:<Function>
yellowBright:<Function>

Creates a colors from the provided colors option.

Attributes
useColor:<boolean>
force use colors




  • [index: {string}] <any>

Returns object of arguments.

Attributes

Type:
<"unknown-argument"> | <"unexpected-non-array-in-path"> | <"unexpected-non-object-in-path"> | <"multiple-values-unexpected"> | <"invalid-value">

Type:
<"string"> | <"number"> | <"boolean">