Searched refs:RequiredSubCommand (Results 1 – 4 of 4) sorted by relevance
199 get() = subCommands.filter { (it is RequiredSubCommand<*> && !it.handled) } in <lambda>()257 fun <T : ParseableCommand> require(optional: OptionalSubCommand<T>): RequiredSubCommand<T> { in require()258 val newCmd = RequiredSubCommand(optional.cmd) in require()265 new: RequiredSubCommand<T>, in replaceWithRequired()
229 val (reqSub, optSub) = parser.subCommands.partition { it is RequiredSubCommand<*> } in help()291 fun <T : ParseableCommand> OptionalSubCommand<T>.required(): RequiredSubCommand<T> = in subCommand()
85 class RequiredSubCommand<T : ParseableCommand>( class
86 val reqSub = subCommands.filter { it is RequiredSubCommand<*> } in testFactoryMethods()