Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConsoleCommand

Hierarchy

  • ConsoleCommand

Index

Constructors

Methods

Constructors

constructor

  • new ConsoleCommand(name: string, callback: (...args: string[]) => void): ConsoleCommand
  • Parameters

    • name: string
    • callback: (...args: string[]) => void
        • (...args: string[]): void
        • Parameters

          • Rest ...args: string[]

          Returns void

    Returns ConsoleCommand

Methods

destroy

  • destroy(): void
  • Returns void