Searched refs:SingleArgParam (Results 1 – 5 of 5) sorted by relevance
29 val req by SingleArgParam(longName = "param", valueParser = Type.Boolean) in singleArgRequired_throwsBeforeParse()35 val param = SingleArgParam(longName = "param", valueParser = Type.Boolean) in singleArgRequired_returnsParsedValue()44 val reqParam = SingleArgParam(longName = "string2", valueParser = Type.Float) in param_handledAfterParse()
81 val req = params.filter { it is SingleArgParam<*> } in testFactoryMethods()
196 get() = params.filter { (it is SingleArgParam<*>) && !it.handled } in validateRequiredParams()231 fun <T : Any> require(old: SingleArgParamOptional<T>): SingleArgParam<T> { in require()233 SingleArgParam( in require()246 new: SingleArgParam<T>, in replaceWithRequired()
219 val (required, optional) = parser.params.partition { it is SingleArgParam<*> } in help()288 fun <T : Any> SingleArgParamOptional<T>.required(): SingleArgParam<T> = parser.require(this) in subCommand()
100 class SingleArgParam<out T : Any>( class