@flowscripter/dynamic-cli-framework-api
    Preparing search index...

    Interface CompletionService

    Interface for a service providing shell auto-completion support.

    interface CompletionService {
        formatCompletions(
            shellType: ShellType,
            completions: readonly CompletionItem[],
        ): string;
        generateCompletions(
            shellType: ShellType,
            line: string,
            cursorPosition: number,
        ): Promise<readonly CompletionItem[]>;
        getBootstrapScript(
            shellType: ShellType,
            cliName: string,
            executablePath: string,
        ): string;
        getDefaultConfigPath(shellType: ShellType): string;
        validateShellEnvironment(shellType: ShellType): Promise<boolean>;
    }
    Index