EntityArgument

fun <T> EntityArgument(name: String, enableSelector: Boolean = true, enableEntities: Boolean = true, suggestion: SuggestionAction<T>?, action: ContextAction<T>? = null)

Parameters

name

Name of argument.

enableSelector

Enables the use of selectors.

enableEntities

Allows you to select an entity.

suggestion

Lambda expression for tab completion of its arguments.

Check the following for the specifications of other arguments.