setName

abstract suspend fun setName(newName: String): Command

Sets the name of this command.

Return

the updated Command instance

Parameters

newName

the new name to set (length must be within 1..30)

Throws

if newName length is outside acceptable range