Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yargs/build/lib/completion.d.ts>Completion

yargs the modern, pirate-themed successor to optimist.
Latest
class Completion
implements CompletionInstance
import { Completion } from "https://deno.land/x/yargs@v17.7.2-deno/build/lib/completion.d.ts";

Constructors

new
Completion()

Properties

private
aliases
private
argsContainKey
private
choicesFromOptionsCompletions
private
choicesFromPositionalsCompletions
private
readonly
command
private
commandCompletions
private
completeOptionKey
private
customCompletion
private
customCompletionFunction
private
defaultCompletion
private
getPreviousArgChoices
private
indexAfterLastReset
private
optionCompletions
private
previousArgHasChoices
private
readonly
shim
private
readonly
usage
private
readonly
yargs
private
readonly
zshShell
completionKey: string

Methods

generateCompletionScript($0: string, cmd: string): string
getCompletion(args: string[], done: CompletionCallback): any