Content of a single command in the repl. The command may execute an external script or simply call flowR functions.

interface ReplBaseCommand {
    aliases: string[];
    description: string;
    script: boolean;
    usageExample: string;
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of ReplBaseCommand

Properties

aliases: string[]

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

description: string

A human-readable description of what the command does

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