createColors(colorsOptions?): ColorsAttributes
colorsOptions:
<ColorsOptions>Returns:
<Colors>colors
Creates a colors from the provided colors option.
getArguments(schema?): voidschema<JSONSchema4>&<object>|<JSONSchema6>&<object>|<JSONSchema7>&<object>a json schema to create arguments for (by default webpack schema is used)- Returns:
<Flags>object of arguments
Returns object of arguments.
isColorSupported(): booleanReturns:
<boolean>true when colors supported, otherwise false
Checks whether this object is color supported.
processArguments(args, config, values): null | ProblemAttributes
args:
<Flags>object of arguments
config:
<ObjectConfiguration>configuration
values:
<Values>object with values
Processes the provided arg.
Returns object of arguments.
Attributes
Returns object of arguments.
Attributes
description:
<string>multiple:
<boolean>negatedDescription:
<string>path:
<string>type:
<"string">
|
<"number">
|
<"boolean">
|
<"path">
|
<"enum">
|
<"RegExp">
|
<"reset">values:
<EnumValue>[]
Attributes
bgBlack:
<Function>bgBlackBright:
<Function>bgBlue:
<Function>bgBlueBright:
<Function>bgCyan:
<Function>bgCyanBright:
<Function>bgGreen:
<Function>bgGreenBright:
<Function>bgMagenta:
<Function>bgMagentaBright:
<Function>bgRed:
<Function>bgRedBright:
<Function>bgWhite:
<Function>bgWhiteBright:
<Function>bgYellow:
<Function>bgYellowBright:
<Function>black:
<Function>blackBright:
<Function>blue:
<Function>blueBright:
<Function>bold:
<Function>cyan:
<Function>cyanBright:
<Function>dim:
<Function>gray:
<Function>green:
<Function>greenBright:
<Function>hidden:
<Function>inverse:
<Function>italic:
<Function>magenta:
<Function>magentaBright:
<Function>red:
<Function>redBright:
<Function>reset:
<Function>strikethrough:
<Function>underline:
<Function>white:
<Function>whiteBright:
<Function>yellow:
<Function>yellowBright:
<Function>Creates a colors from the provided colors option.
Attributes
useColor:
<boolean>force use colors
Type:
<null>
|
<string>
|
<number>
|
<boolean>
|
<EnumValueObject>
|
<EnumValue>[]
[index: {string}]<EnumValue>
[index: {string}]<Argument>
[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">[index: {string}]<Value>[]