Home
last modified time | relevance | path

Searched refs:yargs (Results 1 – 25 of 36) sorted by relevance

12

/plugin/asciidocjs/node_modules/yargs-parser/
DCHANGELOG.md5 ## [21.1.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.1.0...yargs-parser-v21.1…
10yargs/yargs-parser/issues/454)) ([d69f9c3](https://github.com/yargs/yargs-parser/commit/d69f9c3a91…
12 ## [21.1.0](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.1...yargs-parser-v21.1…
17 … be imported ([#443](https://github.com/yargs/yargs-parser/issues/443)) ([a89259f](https://github.…
22 …" is enabled ([#438](https://github.com/yargs/yargs-parser/issues/438)) ([c474bc1](https://github.…
23 …ersions.node ([#450](https://github.com/yargs/yargs-parser/issues/450)) ([d07bcdb](https://github.…
24 …h 3+ hyphens ([#434](https://github.com/yargs/yargs-parser/issues/434)) ([4f1060b](https://github.…
26 ### [21.0.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.0...yargs-parser-v21.…
31 …o env object ([#432](https://github.com/yargs/yargs-parser/issues/432)) ([b00eb87](https://github.…
33 ## [21.0.0](https://www.github.com/yargs/yargs-parser/compare/yargs-parser-v20.2.9...yargs-parser-v…
[all …]
DREADME.md1 # yargs-parser
3 ![ci](https://github.com/yargs/yargs-parser/workflows/ci/badge.svg)
4 [![NPM version](https://img.shields.io/npm/v/yargs-parser.svg)](https://www.npmjs.com/package/yargs
6 ![nycrc config on GitHub](https://img.shields.io/nycrc/yargs/yargs-parser)
8 The mighty option parser used by [yargs](https://github.com/yargs/yargs).
10 visit the [yargs website](http://yargs.js.org/) for more examples, and thorough usage instructions.
12 <img width="250" src="https://raw.githubusercontent.com/yargs/yargs-parser/main/yargs-logo.png">
17 npm i yargs-parser --save
21 const argv = require('yargs-parser')(process.argv.slice(2))
33 const argv = require('yargs-parser')('--foo=99 --bar=33')
[all …]
/plugin/asciidocjs/node_modules/pug-filters/node_modules/yargs/
DCHANGELOG.md5 - [#165](https://github.com/bcoe/yargs/pull/165) expose yargs.terminalWidth() thanks @ensonic (@bco…
6 - [#164](https://github.com/bcoe/yargs/pull/164) better array handling thanks @getify (@bcoe)
9 - [b6662b6](https://github.com/bcoe/yargs/commit/b6662b6774cfeab4876f41ec5e2f67b7698f4e2f) clarify …
10 - [0291360](https://github.com/bcoe/yargs/commit/02913606285ce31ce81d7f12c48d8a3029776ec7) fixed te…
13 - [#157](https://github.com/bcoe/yargs/pull/157) Merge pull request #157 from bcoe/command-yargs. a…
14 - [#158](https://github.com/bcoe/yargs/pull/158) Merge pull request #158 from kemitchell/spdx-licen…
17 - [#154](https://github.com/bcoe/yargs/pull/154) showHelp's method signature was misleading fixes #…
18 - [#151](https://github.com/bcoe/yargs/pull/151) refactor yargs' table layout logic to use new help…
19 - [#150](https://github.com/bcoe/yargs/pull/150) Fix README example in argument requirements (@anno…
23 * [679fbbf](https://github.com/bcoe/yargs/commit/679fbbf55904030ccee8a2635e8e5f46551ab2f0) updated
[all …]
DREADME.md1 yargs chapter
6 With yargs, ye be havin' a map that leads straight to yer treasure! Treasure of course, being a sim…
8 [![Build Status](https://travis-ci.org/bcoe/yargs.png)](https://travis-ci.org/bcoe/yargs)
9 [![Dependency Status](https://gemnasium.com/bcoe/yargs.png)](https://gemnasium.com/bcoe/yargs)
10 …verage Status](https://coveralls.io/repos/bcoe/yargs/badge.svg?branch=)](https://coveralls.io/r/bc…
11 [![NPM version](https://img.shields.io/npm/v/yargs.svg)](https://www.npmjs.com/package/yargs)
13 …don't know where to start, have a look at [the issue list](https://github.com/bcoe/yargs/issues) :)
18 With yargs, the options be just a hash!
25 var argv = require('yargs').argv;
52 var argv = require('yargs').argv;
[all …]
Dcompletion.sh.hbs3 # yargs command completion script
15 # ask yargs to generate completions.
16 type_list=`{{app_path}} --get-yargs-completions $args`
/plugin/asciidocjs/node_modules/cliui/
DCHANGELOG.md5 ### [7.0.4](https://www.github.com/yargs/cliui/compare/v7.0.3...v7.0.4) (2020-11-08)
10 …om definitions ([#97](https://www.github.com/yargs/cliui/issues/97)) ([f04f343](https://www.github…
12 ### [7.0.3](https://www.github.com/yargs/cliui/compare/v7.0.2...v7.0.3) (2020-10-16)
17 …tring fallback ([#93](https://www.github.com/yargs/cliui/issues/93)) ([eca16fc](https://www.github…
19 ### [7.0.2](https://www.github.com/yargs/cliui/compare/v7.0.1...v7.0.2) (2020-10-14)
24 …tring fallback ([#91](https://www.github.com/yargs/cliui/issues/91)) ([b529d7e](https://www.github…
26 ### [7.0.1](https://www.github.com/yargs/cliui/compare/v7.0.0...v7.0.1) (2020-08-16)
31 * **build:** main should be build/index.cjs ([dc29a3c](https://www.github.com/yargs/cliui/commit/dc…
33 ## [7.0.0](https://www.github.com/yargs/cliui/compare/v6.0.0...v7.0.0) (2020-08-16)
43 …deps and build ([#80](https://www.github.com/yargs/cliui/issues/80)) ([339d08d](https://www.github…
[all …]
DREADME.md3 ![ci](https://github.com/yargs/cliui/workflows/ci/badge.svg)
6 ![nycrc config on GitHub](https://img.shields.io/nycrc/yargs/cliui)
/plugin/asciidocjs/node_modules/y18n/
DCHANGELOG.md5 ### [5.0.8](https://www.github.com/yargs/y18n/compare/v5.0.7...v5.0.8) (2021-04-07)
10 * **deno:** force modern release for Deno ([b1c215a](https://www.github.com/yargs/y18n/commit/b1c21…
12 ### [5.0.7](https://www.github.com/yargs/y18n/compare/v5.0.6...v5.0.7) (2021-04-07)
17 …ease for deno ([#121](https://www.github.com/yargs/y18n/issues/121)) ([d3f2560](https://www.github…
19 ### [5.0.6](https://www.github.com/yargs/y18n/compare/v5.0.5...v5.0.6) (2021-04-05)
24 …f not defined ([#117](https://www.github.com/yargs/y18n/issues/117)) ([6966fa9](https://www.github…
26 ### [5.0.5](https://www.github.com/yargs/y18n/compare/v5.0.4...v5.0.5) (2020-10-25)
31 …llution issue ([#108](https://www.github.com/yargs/y18n/issues/108)) ([a9ac604](https://www.github…
33 ### [5.0.4](https://www.github.com/yargs/y18n/compare/v5.0.3...v5.0.4) (2020-10-16)
38 …ring fallback ([#105](https://www.github.com/yargs/y18n/issues/105)) ([4f85d80](https://www.github…
[all …]
/plugin/asciidocjs/node_modules/yargs/
DREADME.md2 <img width="250" src="https://raw.githubusercontent.com/yargs/yargs/main/yargs-logo.png">
11 ![ci](https://github.com/yargs/yargs/workflows/ci/badge.svg)
48 npm i yargs
53 npm i yargs@next
62 const yargs = require('yargs/yargs')
63 const { hideBin } = require('yargs/helpers')
64 const argv = yargs(hideBin(process.argv)).argv
87 const yargs = require('yargs/yargs')
88 const { hideBin } = require('yargs/helpers')
90 yargs(hideBin(process.argv))
[all …]
Dindex.cjs2 // classic singleton yargs API, to use yargs
4 // require('yargs/yargs')(process.argv.slice(2))
34 require('yargs')(['--beeble=1','-z','zizzle']).argv
36 require('yargs').argv
Dbrowser.mjs1 // Bootstrap yargs for browser:
3 import {YargsFactory} from './build/lib/yargs-factory.js';
Dindex.mjs3 // Bootstraps yargs for ESM:
5 import {YargsFactory} from './build/lib/yargs-factory.js';
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dcommand.js114 runCommand(command, yargs, parsed, commandIndex, helpOnly, helpOrVersionSet) { argument
118 const currentContext = yargs.getInternalMethods().getContext();
125 … = this.applyBuilderUpdateUsageAndParse(isDefaultCommand, commandHandler, yargs, parsed.aliases, p…
127 …DefaultCommand, commandHandler, result.innerArgv, currentContext, helpOnly, result.aliases, yargs))
128 …, commandHandler, builderResult.innerArgv, currentContext, helpOnly, builderResult.aliases, yargs);
130 …applyBuilderUpdateUsageAndParse(isDefaultCommand, commandHandler, yargs, aliases, parentCommands, … argument
132 let innerYargs = yargs;
134 … const builderOutput = builder(yargs.getInternalMethods().reset(aliases), helpOrVersionSet);
137 innerYargs = isYargsInstance(output) ? output : yargs;
143 innerYargs = yargs.getInternalMethods().reset(aliases);
[all …]
Dusage.js7 export function usage(yargs, shim) { argument
27 const logger = yargs.getInternalMethods().getLoggerInstance();
43 if (yargs.getExitProcess())
48 yargs.showHelp('error');
60 if (yargs.getExitProcess()) {
61 return yargs.exit(1);
63 else if (yargs.getInternalMethods().hasParseCallback()) {
64 return yargs.exit(1, err);
147 const base$0 = yargs.customScriptName
148 ? yargs.$0
[all …]
Dmiddleware.js4 constructor(yargs) { argument
7 this.yargs = yargs;
29 return this.yargs;
32 const aliases = this.yargs.getAliases();
66 export function applyMiddleware(argv, yargs, middlewares, beforeValidation) { argument
78 .then(initialObj => Promise.all([initialObj, middleware(initialObj, yargs)]))
82 const result = middleware(acc, yargs);
Dcompletion.js7 constructor(yargs, usage, command, shim) { argument
9 this.yargs = yargs;
26 const y = this.yargs.getInternalMethods().reset();
39 const parentCommands = this.yargs
62 const options = this.yargs.getOptions();
63 … const positionalKeys = this.yargs.getGroups()[this.usage.getPositionalGroupName()] || [];
97 const options = this.yargs.getOptions();
166 const argv = this.yargs.parse(args, true);
192 export function completion(yargs, usage, command, shim) { argument
193 return new Completion(yargs, usage, command, shim);
Dvalidation.js6 export function validation(yargs, usage, shim) { argument
11 const demandedCommands = yargs.getDemandedCommands();
13 const _s = positionalCount - yargs.getInternalMethods().getContext().commands.length;
70 const commandKeys = yargs
75 const currentContext = yargs.getInternalMethods().getContext();
79 … !Object.prototype.hasOwnProperty.call(yargs.getInternalMethods().getParseContext(), key) &&
95 const demandedCommands = yargs.getDemandedCommands();
113 const commandKeys = yargs
118 const currentContext = yargs.getInternalMethods().getContext();
138 const newAliases = yargs.parsed.newAliases;
[all …]
/plugin/asciidocjs/node_modules/pug-filters/node_modules/yargs/lib/
Dusage.js7 module.exports = function (yargs) { argument
36 if (showHelpOnFail) yargs.showHelp('error')
42 if (yargs.getExitProcess()) {
96 var demanded = yargs.getDemanded(),
97 options = yargs.getOptions(),
114 var u = usage.replace(/\$0/g, yargs.$0)
135 .concat(Object.keys(yargs.parsed.newAliases) || [])
138 return !yargs.parsed.newAliases[key] && aliasKeys.every(function (alias) {
190 example[0] = example[0].replace(/\$0/g, yargs.$0)
205 var e = epilog.replace(/\$0/g, yargs.$0)
[all …]
Dcompletion.js6 module.exports = function (yargs, usage) { argument
16 argv = yargs.parse(previous)
39 Object.keys(yargs.getOptions().key).forEach(function (key) {
Dvalidation.js3 module.exports = function (yargs, usage) { argument
9 var demanded = yargs.getDemanded()
25 var options = yargs.getOptions(),
54 var demanded = yargs.getDemanded(),
81 demanded = yargs.getDemanded(),
/plugin/asciidocjs/node_modules/@asciidoctor/cli/lib/
Doptions.js123 const yargs = Yargs()
124 this.cmd = yargs
246 this.yargs = yargs
271 return this.yargs
273 .wrap(Math.min(120, this.yargs.terminalWidth()))
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/bin/
Dextract-props.js7 var yargs = require("yargs"); variable
8 var ARGS = yargs
/plugin/asciidocjs/node_modules/yargs/lib/platform-shims/
Dbrowser.mjs5 import Parser from 'https://unpkg.com/yargs-parser@19.0.0/browser.js'; // eslint-disable-line
33 mainFilename: 'yargs',
Desm.mjs9 import Parser from 'yargs-parser'
/plugin/asciidocjs/node_modules/yargs/helpers/
Dhelpers.mjs3 import Parser from 'yargs-parser';

12