vertx / io.vertx.rxjava.core.cli / CommandLine / getArgumentValue

getArgumentValue

open fun <T : Any> getArgumentValue(name: String): T

Gets the value of an argument with the matching name (arg name).

Parameters

name - the name

Return
the value, null if not set

open fun <T : Any> getArgumentValue(index: Int): T

Gets the value of an argument with the given index.

Parameters

index - the index

Return
the value, null if not set