StringArgument

fun <T> StringArgument(name: String, type: StringArgument.Type = Type.WORD, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null)

Parameters

name

Name of argument.

type

Text type.

suggestion

Lambda expression for tab completion of its arguments.

Check the following for the specifications of other arguments.