Fake Mirrors
    Preparing search index...

    Class ReplServerCommand<T>

    Represents the repl-server command.

    Type Parameters

    The spec object.

    • Executes command with arguments.

      Parameters

      Returns Promise<void>

      ReplServerError If validation fails.

    • Parses command arguments with yargs-parser.

      Parameters

      • args: string

        The raw string.

      Returns ReplServerCommandArgs | null

      Parsed command arguments, or null if parsing fails.

    • Shows command help screen.

      Parameters

      • console: Console

        The underlying Console instance.

      Returns void