trait OPALCommandLineConfig extends AnyRef
OpalConf is a utility trait designed to enhance the ScallopConf functionality by providing additional methods
for handling command-line argument parsing in the OPAL framework. This trait is intended to be mixed into
ScallopConf configurations, enabling more customized parsing mechanisms with reusable methods for specific command
types and error handling.
- Self Type
- OPALCommandLineConfig with ScallopConf
- Source
- OPALCommandLineConfig.scala
- Alphabetic
- By Inheritance
- OPALCommandLineConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class CommandExt extends AnyRef
- Attributes
- protected
Abstract Value Members
- abstract val description: String
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[R](arg: Arg[_, R]): R
Gets the value of a (required) argument.
Gets the value of a (required) argument.
- Exceptions thrown
NoSuchElementExceptionif the argument was not supplied (which means it was not marked as required!)
- val argGroups: Map[Arg[_, _], ScallopOptionGroup]
- Attributes
- protected
- def args(as: Arg[_, _]*): Unit
Defines (additional) args for this configuration
Defines (additional) args for this configuration
- Attributes
- protected
- def argsIterator: Iterator[Arg[_, _]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def generalArgs(as: Arg[_, _]*): Unit
Defines (additional) general args for this configuration
Defines (additional) general args for this configuration
- Attributes
- protected
- def get[R](arg: Arg[_, R], default: => R): R
Gets the value of an (optional) argument or a default value if the argument was not supplied
- def get[R](arg: Arg[_, R]): Option[R]
Gets the value of an (optional) argument or None if the argument was not supplied
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def init(): Unit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def onError(e: Throwable): Unit
- Attributes
- protected
- def setupConfig(isLibrary: Boolean): Config
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated