@oclif/plugin-autocomplete
Version:
autocomplete plugin for oclif
28 lines (27 loc) • 967 B
TypeScript
import { AutocompleteBase } from '../../base';
export default class Create extends AutocompleteBase {
static hidden: boolean;
static description: string;
private _commands?;
run(): Promise<void>;
private ensureDirs;
private createFiles;
private get bashSetupScriptPath();
private get zshSetupScriptPath();
private get pwshFunctionsDir();
private get bashFunctionsDir();
private get zshFunctionsDir();
private get pwshCompletionFunctionPath();
private get bashCompletionFunctionPath();
private get zshCompletionFunctionPath();
private get bashSetupScript();
private get zshSetupScript();
private get commands();
private genZshFlagSpecs;
private get genAllCommandsMetaString();
private get genCaseStatementForFlagsMetaString();
private genCmdPublicFlags;
private get bashCommandsWithFlagsList();
private get bashCompletionFunction();
private get zshCompletionFunction();
}