/third_party/node/test/parallel/ |
D | test-parse-args.mjs | 8 const expected = { values: { __proto__: null, f: true }, positionals: [] }; property 15 const expected = { values: { __proto__: null, f: true }, positionals: [ 'bar' ] }; property 23 const expected = { values: { __proto__: null, f: 'bar' }, positionals: [] }; property 31 const expected = { values: { __proto__: null, foo: true }, positionals: [] }; property 40 const expected = { values: { __proto__: null, foo: 'bar' }, positionals: [] }; property 48 const expected = { values: { __proto__: null, f: true }, positionals: [] }; property 56 const expected = { values: { __proto__: null, r: true, f: true }, positionals: [] }; property 64 const expected = { values: { __proto__: null, r: true, f: true }, positionals: ['foo'] }; property 73 const expected = { values: { __proto__: null, r: true, v: true, f: 'foo' }, positionals: [] }; property 81 const expected = { values: { __proto__: null, r: true, f: true, foo: 'foo' }, positionals: [] }; property [all …]
|
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/examples/ |
D | simple-hard-coded.js | 21 positionals 23 console.log(values, positionals);
|
/third_party/python/Lib/ |
D | argparse.py | 312 positionals = [] 317 positionals.append(action) 321 action_usage = format(optionals + positionals, groups) 335 pos_usage = format(positionals, groups) 1791 positionals = self._get_positional_actions() 1793 formatter.add_usage(self.usage, positionals, groups, '') 2012 positionals = self._get_positional_actions() 2019 arg_counts = match_partial(positionals, selected_pattern) 2023 for action, arg_count in zip(positionals, arg_counts): 2030 positionals[:] = positionals[len(arg_counts):] [all …]
|
/third_party/node/deps/npm/node_modules/glob/dist/esm/ |
D | bin.mjs.map | 1 …positionals, values } = j.parse()\n if (values.help) {\n console.log(j.usage())\n process.e…
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | zsh.rs | 325 let positionals = write_positionals_of(parent); localVariable 335 if !positionals.is_empty() { 336 segments.push(positionals);
|
/third_party/rust/crates/clap/tests/builder/ |
D | main.rs | 37 mod positionals; module
|
D | env.rs | 188 fn positionals() { in positionals() function
|
D | default_vals.rs | 77 fn positionals() { in positionals() function
|
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/ |
D | index.js | 357 positionals: [], property 373 ArrayPrototypePush(result.positionals, token.value);
|
/third_party/node/lib/internal/util/parse_args/ |
D | parse_args.js | 352 positionals: [], property 368 ArrayPrototypePush(result.positionals, token.value);
|
/third_party/node/deps/npm/node_modules/jackspeak/dist/esm/ |
D | index.js | 321 positionals: [], property 325 p.positionals.push(token.value); 327 p.positionals.push(...args.slice(token.index + 1));
|
/third_party/node/deps/npm/node_modules/jackspeak/dist/commonjs/ |
D | index.js | 329 positionals: [], property 333 p.positionals.push(token.value); 335 p.positionals.push(...args.slice(token.index + 1));
|
/third_party/node/tools/dep_updaters/ |
D | update-root-certs.mjs | 130 positionals, 162 const version = positionals[0] ?? await getLatestVersion(nssReleases);
|
/third_party/rust/crates/clap/clap_mangen/ |
D | CHANGELOG.md | 72 - Use value names for positionals
|
/third_party/node/tools/ |
D | find-inactive-collaborators.mjs | 18 const SINCE = args.positionals[0] || '18 months ago';
|
/third_party/node/doc/api/ |
D | util.md | 1420 * `positionals` {string\[]} Positional arguments. 1426 and returns a structured object with the parsed options and positionals. 1442 positionals, 1444 console.log(values, positionals); 1462 positionals, 1464 console.log(values, positionals);
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 782 - `Arg::multiple_occurrences` with `ArgAction::Append` or `ArgAction::Count` though positionals wil… 1674 …* Maybe fix completions with mixed positionals and subcommands ([1146f0da](https://github.com/cla… 2763 …* moves positionals to standard <> formatting ([03dfe5ce](https://github.com/clap-rs/clap/commit/… 2801 …* Expose Parser's flags, opts and positionals argument as iterators ([9b23e7ee](https://github.co… 3766 * **Positional** positionals were ignored if they matched a subcmd, even after '--' ([90e7b081](ht… 4113 * **positionals**
|
/third_party/node/deps/corepack/dist/lib/ |
D | corepack.cjs | 21196 positionals: [], 21281 positionals: [], 21473 const getPositionalCount = (state) => state.positionals.filter(({ extra }) => { 21625 return { ...state, positionals: state.positionals.concat({ value: segment, extra: false }) }; 21628 return { ...state, positionals: state.positionals.concat({ value: segment, extra: true }) }; 21631 return { ...state, positionals: state.positionals.concat({ value: segment, extra: NoLimits }) }; 22535 return state.positionals.map(({ value }) => value); 22552 const positional = state.positionals[index]; 22560 while (count < state.positionals.length && isRestPositional(count)) 22562 return state.positionals.splice(0, count).map(({ value }) => value); [all …]
|
/third_party/python/Doc/library/ |
D | argparse.rst | 2094 optionals and positionals are not supported. 2099 '3']`` as unparsed arguments, while the latter collects all the positionals
|