Defines the command handler function.

  • Parameters

    • viewer: any

      Viewer instance that executes the command.

    • ...args: any[]

      Parameters passed to the command handler function.

    Returns any