oclif-plugin-completion
Version:
oclif plugin for generating shell completions
14 lines (13 loc) • 484 B
TypeScript
import type { Command } from '@oclif/command';
export declare function generateCompletionScriptForBash({ bin, aliases, commands, }: Pick<Command['config'], 'bin' | 'commands'> & {
aliases: string[];
}): string;
export declare function generateCompletionAliasScriptForBash({ bin, }: {
bin: string;
alias: string;
}): string;
export declare function getInstructionsForBash({ bin, shell, aliases, }: {
bin: string;
shell: string;
aliases: string[];
}): string[];