Argument

argparse.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.

Attributes

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

Members list

Concise view

Value members

Concrete methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

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.

Attributes

Deprecated methods

def apply(): A

Attributes

Deprecated
true