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

    Repl command that uses the FlowrAnalyzer

    interface ReplCodeCommand {
        aliases: string[];
        argsParser: (remainingLine: string) => ParsedReplLine;
        description: string;
        fn: (info: ReplCodeCommandInformation) => void | Promise<void>;
        isCodeCommand: true;
        script: boolean;
        usageExample: string;
    }

    Hierarchy (View Summary)

    Hierarchy-Diagram

    UML class diagram of ReplCodeCommand
    Index

    Properties

    aliases: string[]

    Aliases of the command (without the leading colon), every alias must be unique (this is checked at runtime)

    argsParser: (remainingLine: string) => ParsedReplLine

    Argument parser function which handles the input given after the repl command. If no R code is returned, the input R code of a previous REPL command will be re-used for processing the current REPL command.

    description: string

    A human-readable description of what the command does

    fn: (info: ReplCodeCommandInformation) => void | Promise<void>

    Function to execute when the command is invoked, it must not write to the command line but instead use the output handler. Furthermore, it has to obey the formatter defined in the ReplOutput.

    isCodeCommand: true
    script: boolean

    Does the command invoke another script? this is mainly used to automatically generate two separate lists when asking for help

    usageExample: string

    Example of how to use the command, for example :slicer --help