option

abstract fun option(declaredName: String)(source)

Declares an input option.

The designated parameter's type must be supported by a UserContextParameterResolver.

Parameters

declaredName

Name of the declared parameter which receives the value of the combined options