Home
last modified time | relevance | path

Searched refs:nopt (Results 1 – 17 of 17) sorted by relevance

/third_party/node/deps/npm/node_modules/@npmcli/config/lib/
Dtype-defs.js1 const nopt = require('nopt') constant
14 const noptValidatePath = nopt.typeDefs.path.validate
24 ...nopt.typeDefs,
36 ...nopt.typeDefs.url,
40 ...nopt.typeDefs.path,
45 ...nopt.typeDefs.Number,
49 ...nopt.typeDefs.Boolean,
53 ...nopt.typeDefs.Date,
59 nopt.typeDefs = module.exports
Dindex.js4 const nopt = require('nopt') constant
377 nopt.invalidHandler = (k, val, type) =>
379 const conf = nopt(this.types, this.shorthands, this.argv)
380 nopt.invalidHandler = null
455 nopt.invalidHandler = (k, val, type) =>
458 nopt.clean(obj.data, this.types, typeDefs)
460 nopt.invalidHandler = null
/third_party/node/deps/npm/node_modules/nopt/
DREADME.md24 var nopt = require("nopt")
46 , parsed = nopt(knownOpts, shortHands, process.argv, 2)
91 Read the tests at the bottom of `lib/nopt.js` for more examples of
96 The following types are supported, and defined on `nopt.typeDefs`
131 To define a new type, add it to `nopt.typeDefs`. Each item in that
139 You can also call `nopt.clean(data, types, typeDefs)` to clean up a
144 By default, nopt outputs a warning to standard error when invalid values for
146 to `nopt.invalidHandler`. This method will be called with
147 the offending `nopt.invalidHandler(key, val, types)`.
149 If no `nopt.invalidHandler` is assigned, then it will console.error
[all …]
/third_party/node/deps/npm/node_modules/nopt/lib/
Dnopt.js10 module.exports = exports = nopt
15 function nopt (types, shorthands, args = process.argv, slice = 2) { function
16 return lib.nopt(args.slice(slice), {
Dnopt-lib.js24 function nopt (args, { function
473 nopt, property
/third_party/node/deps/npm/node_modules/@npmcli/arborist/bin/lib/
Doptions.js1 const nopt = require('nopt') constant
9 nopt.typeDefs.path.validate(data, k, val)
115 let options = nopt(arbOpts, short, ...noptArgs)
/third_party/node/deps/npm/node_modules/nopt/bin/
Dnopt.js2 const nopt = require('../lib/nopt') constant
4 console.log('parsed', nopt({
/third_party/node/deps/npm/node_modules/node-gyp/lib/
Dnode-gyp.js4 const nopt = require('nopt') constant
95 this.opts = nopt(this.configDefs, this.shorthands, argv)
/third_party/node/deps/npm/lib/commands/
Dcompletion.js33 const nopt = require('nopt') constant
148 nopt(types, shorthands, partialWords.slice(0, -1), 0)
/third_party/node/deps/npm/node_modules/@npmcli/config/
DREADME.md33 parsed by [`nopt`](http://npm.im/nopt), which is not a great choice, but
106 The type definitions passed to `nopt` for CLI option parsing and known
/third_party/node/tools/doc/
Dgenerate.mjs41 // Don't use nopt or whatever for this. It's simple enough.
/third_party/mesa3d/docs/
Dshading.rst32 Example: export MESA_GLSL=dump,nopt
/third_party/spirv-tools/test/opt/
Daggressive_dead_code_elim_test.cpp7714 …spv-target-env=vulkan1.2 -fspv-debug=vulkan-with-source -fcgl -Fo foo2.frag.nopt.spv -Qembed_debug" in TEST_F()
/third_party/node/deps/npm/node_modules/node-gyp/
DCHANGELOG.md67 * nopt@^7.0.0 ([4a50fe3](https://www.github.com/nodejs/node-gyp/commit/4a50fe31574217c4b2a798fc72b1…
153 * update dependency - nopt@6.0.0 ([#2707](https://www.github.com/nodejs/node-gyp/issues/2707)) ([89…
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst4253 - virgl/ci: Set GALLIVM_PERF=nopt,no_quad_lod
D21.3.0.rst4394 - llvmpipe: correct the debug information printed with GALLIVM_PERF=nopt
D21.1.0.rst3744 - ci: Set GALLIVM_PERF=nopt,no_filter_hacks for llvmpipe-gles2