Argument

final class Argument[A](name: String) extends () => A

The future value of an argument.

You can obtain an instance of this class through the various param() methods of ArgumentParser.

Once arguments have been parsed by the ArgumentParser, the .value() method in this class will become available.

trait () => A
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString(): String
Definition Classes
Function0 -> Any
def value: A

Call this method to retrieve the argument's actual value.

Call this method to retrieve the argument's actual value.

Deprecated methods

@deprecated("use .value instead", "0.15.2")
def apply(): A
Deprecated