Skip to content

parseConfigValue

parseConfigValue(raw): unknown

Parse a value typed on a command line. JSON first, so true, 3 and ["a","b"] arrive as themselves; a bare word that is not valid JSON falls back to the string, so moon does not have to be typed as "moon".

ParameterType
rawstring

unknown