Home
last modified time | relevance | path

Searched refs:positionals (Results 1 – 19 of 19) sorted by relevance

/third_party/node/test/parallel/
Dtest-parse-args.mjs8 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/
Dsimple-hard-coded.js21 positionals
23 console.log(values, positionals);
/third_party/python/Lib/
Dargparse.py312 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/
Dbin.mjs.map1positionals, values } = j.parse()\n if (values.help) {\n console.log(j.usage())\n process.e…
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs325 let positionals = write_positionals_of(parent); localVariable
335 if !positionals.is_empty() {
336 segments.push(positionals);
/third_party/rust/crates/clap/tests/builder/
Dmain.rs37 mod positionals; module
Denv.rs188 fn positionals() { in positionals() function
Ddefault_vals.rs77 fn positionals() { in positionals() function
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/
Dindex.js357 positionals: [], property
373 ArrayPrototypePush(result.positionals, token.value);
/third_party/node/lib/internal/util/parse_args/
Dparse_args.js352 positionals: [], property
368 ArrayPrototypePush(result.positionals, token.value);
/third_party/node/deps/npm/node_modules/jackspeak/dist/esm/
Dindex.js321 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/
Dindex.js329 positionals: [], property
333 p.positionals.push(token.value);
335 p.positionals.push(...args.slice(token.index + 1));
/third_party/node/tools/dep_updaters/
Dupdate-root-certs.mjs130 positionals,
162 const version = positionals[0] ?? await getLatestVersion(nssReleases);
/third_party/rust/crates/clap/clap_mangen/
DCHANGELOG.md72 - Use value names for positionals
/third_party/node/tools/
Dfind-inactive-collaborators.mjs18 const SINCE = args.positionals[0] || '18 months ago';
/third_party/node/doc/api/
Dutil.md1420 * `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/
DCHANGELOG.md782 - `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/
Dcorepack.cjs21196 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/
Dargparse.rst2094 optionals and positionals are not supported.
2099 '3']`` as unparsed arguments, while the latter collects all the positionals