onRegister

abstract fun onRegister(definition: CommandDefinition)

Called by core when a command is registered.

Platforms may use this to expose the command to the host so that input routes into KTale.