@eagleoutice/flowr - v2.13.1
    Preparing search index...

    Interface CommandCompletions

    Completion suggestions for a specific REPL command

    interface CommandCompletions {
        argumentPart?: string;
        completions: string[];
        hints?: readonly string[];
        labels?: ReadonlyMap<string, string>;
        preFiltered?: boolean;
    }
    Index

    Properties

    argumentPart?: string

    The current argument fragment being completed, if any. This is relevant if an argument is composed of multiple parts (e.g. comma-separated lists).

    completions: string[]

    The possible completions for the current argument

    hints?: readonly string[]

    Display-only suggestions (e.g. a <string> type placeholder): previewed as a ghost hint but never inserted on Tab.

    labels?: ReadonlyMap<string, string>

    What Tab displays per completion, only used while several remain: readline inserts what it displays.

    preFiltered?: boolean

    The completer already selected these, so they must not be filtered against the typed fragment again. Needed when a completion legitimately shares no prefix with what was typed, e.g. a glob expanding to the keys it matches.