RefreshCmd

object RefreshCmd : CommandImpl<Game>

Command to refresh and display the current game state.

Re-reads the underlying game state from storage (useful in multi-process scenarios where another instance may have updated the game state) and displays the updated board.

Usage: refresh or r

Properties

Link copied to clipboard
open override val info: CommandInfo

Functions

Link copied to clipboard
open override fun execute(vararg args: String, context: Game?): CommandResult<Game>

Executes the refresh command.