Searched refs:subCommand (Results 1 – 5 of 5) sorted by relevance
66 val optionalSubCommand by subCommand(mySubCommand)67 val requiredSubCommand by subCommand(mySubCommand2).required()252 val subCmd by subCommand(subCmd)278 val subCommand by subCommand(subCmd) regex288 assertThat(myCommand.subCommand).isNotNull()289 assertThat(myCommand.subCommand?.flag1).isTrue()290 assertThat(myCommand.subCommand?.param1).isEqualTo("arg2")
151 parser.require(parser.subCommand(cmd))169 parser.require(parser.subCommand(cmd))
51 val roundedTop: RoundedCornerSubCommand? by subCommand(RoundedCornerSubCommand("rounded-top"))54 subCommand(RoundedCornerSubCommand("rounded-bottom"))
283 fun <T : ParseableCommand> subCommand(285 ) = parser.subCommand(command)
308 internal fun <T : ParseableCommand> subCommand(