Lines Matching refs:argv
20 defaultCompletion(args, argv, current, done) { argument
28 return y.argv;
34 this.optionCompletions(completions, args, argv, current);
35 this.choicesCompletions(completions, args, argv, current);
59 optionCompletions(completions, args, argv, current) { argument
69 !this.argsContainKey(args, argv, key, negable)) {
77 choicesCompletions(completions, args, argv, current) { argument
107 argsContainKey(args, argv, key, negable) { argument
114 if (argv[alias] !== undefined)
134 customCompletion(args, argv, current, done) { argument
137 const result = this.customCompletionFunction(current, argv);
154 …eturn this.customCompletionFunction(current, argv, (onCompleted = done) => this.defaultCompletion(…
159 return this.customCompletionFunction(current, argv, completions => {
166 const argv = this.yargs.parse(args, true);
168 ? (argv) => this.customCompletion(args, argv, current, done)
169 : (argv) => this.defaultCompletion(args, argv, current, done);
170 return isPromise(argv)
171 ? argv.then(completionFunction)
172 : completionFunction(argv);