oclif-plugin-completion
Version:
oclif plugin for generating shell completions
9 lines (8 loc) • 329 B
TypeScript
import type { Command } from '@oclif/command';
export declare function generateCompletionScriptForZsh({ bin, aliases, commands, }: Pick<Command['config'], 'bin' | 'commands'> & {
aliases: string[];
}): string;
export declare function getInstructionsForZsh({ bin, shell, }: {
bin: string;
shell: string;
}): string[];