Argument

@implicitNotFound("No Argument instance found for ${A}. For more info, see: http://monovore.com/decline/arguments.html#missing-instances") trait Argument[A]

This typeclass captures the information needed to use this type as an option argument.

This typeclass captures the information needed to use this type as an option argument.

See the documentation for more details.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def defaultMetavar: String

Returns a short, human-readable description of the accepted input format for this type, suitable to be used in a command-line usage message.

Returns a short, human-readable description of the accepted input format for this type, suitable to be used in a command-line usage message.

def read(string: String): ValidatedNel[String, A]

Attempt to parse a single command-line argument: given an argument, this returns either the parsed value or a message explaining the failure.

Attempt to parse a single command-line argument: given an argument, this returns either the parsed value or a message explaining the failure.

Concrete methods

override def toString: String
Definition Classes
Any