PATH:
opt
/
bitninja-threat-hunting
/
node_modules
/
yargs
/
build
/
lib
import { CommandInstance } from './command'; import { UsageInstance } from './usage'; import { YargsInstance } from './yargs'; import { Arguments, DetailedArguments } from 'yargs-parser'; export declare function completion(yargs: YargsInstance, usage: UsageInstance, command: CommandInstance): CompletionInstance; /** Instance of the completion module. */ export interface CompletionInstance { completionKey: string; generateCompletionScript($0: string, cmd: string): string; getCompletion(args: string[], done: (completions: string[]) => any): any; registerFunction(fn: CompletionFunction): void; setParsed(parsed: DetailedArguments): void; } export declare type CompletionFunction = SyncCompletionFunction | AsyncCompletionFunction; interface SyncCompletionFunction { (current: string, argv: Arguments): string[] | Promise<string[]>; } interface AsyncCompletionFunction { (current: string, argv: Arguments, done: (completions: string[]) => any): any; } export {};
[-] apply-extends.js
[edit]
[-] is-promise.d.ts
[edit]
[-] apply-extends.d.ts
[edit]
[-] completion-templates.js
[edit]
[-] yargs.js
[edit]
[-] obj-filter.js
[edit]
[-] common-types.d.ts
[edit]
[-] parse-command.d.ts
[edit]
[-] usage.js
[edit]
[-] argsert.d.ts
[edit]
[-] completion.js
[edit]
[+]
..
[-] common-types.js
[edit]
[-] process-argv.d.ts
[edit]
[-] is-promise.js
[edit]
[-] validation.js
[edit]
[-] parse-command.js
[edit]
[-] validation.d.ts
[edit]
[-] argsert.js
[edit]
[-] middleware.d.ts
[edit]
[-] middleware.js
[edit]
[-] process-argv.js
[edit]
[-] levenshtein.d.ts
[edit]
[-] command.js
[edit]
[-] usage.d.ts
[edit]
[-] yargs.d.ts
[edit]
[-] yerror.d.ts
[edit]
[-] levenshtein.js
[edit]
[-] command.d.ts
[edit]
[-] yerror.js
[edit]
[-] completion.d.ts
[edit]
[-] completion-templates.d.ts
[edit]
[-] obj-filter.d.ts
[edit]