Home
last modified time | relevance | path

Searched refs:positionalMap (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/node_modules/yargs/lib/
Dcommand.js180 let positionalMap = {}
218 positionalMap = populatePositionals(commandHandler, innerArgv, currentContext, yargs)
226 …if (!yargs._hasOutput()) yargs._runValidation(innerArgv, aliases, positionalMap, yargs.parsed.erro…
303 const positionalMap = {}
309 populatePositional(demand, argv, positionalMap)
314 populatePositional(maybe, argv, positionalMap)
319 postProcessPositionals(argv, positionalMap, self.cmdToParseOptions(commandHandler.original))
321 return positionalMap
324 function populatePositional (positional, argv, positionalMap, parseOptions) { argument
327 positionalMap[cmd] = argv._.splice(0).map(String)
[all …]
Dvalidation.js90 self.unknownArguments = function unknownArguments (argv, aliases, positionalMap) { argument
97 !positionalMap.hasOwnProperty(key) &&
/third_party/node/deps/npm/node_modules/yargs/
Dyargs.js1215 self._runValidation = function runValidation (argv, aliases, positionalMap, parseErrors) { argument
1219 if (strict) validation.unknownArguments(argv, aliases, positionalMap)