vertx / io.vertx.reactivex.core.cli / CLI / getArgument

getArgument

open fun getArgument(name: String): Argument

Gets an io.vertx.core.cli.Argument based on its name (argument name).

Parameters

name - the name of the argument, must not be null

Return
the io.vertx.core.cli.Argument, null if not found.

open fun getArgument(index: Int): Argument

Gets an io.vertx.core.cli.Argument based on its index.

Parameters

index - the index, must be positive or zero.

Return
the io.vertx.core.cli.Argument, null if not found.