Type Members
-
abstract
type
OptionMagic <: Implicit
Abstract Value Members
-
abstract
def
help(str: ⇒ String): Unit
-
implicit abstract
def
optionMagicAdditions(s: String): OptionMagic
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (DemoSpec, B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
object
Bash extends Opt
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (DemoSpec) ⇒ Boolean, msg: ⇒ Any): DemoSpec
-
def
ensuring(cond: (DemoSpec) ⇒ Boolean): DemoSpec
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DemoSpec
-
def
ensuring(cond: Boolean): DemoSpec
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
heading(str: ⇒ String): Unit
-
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
optDefault: String
-
val
optDefaultInt: Int
-
val
optEnv: String
-
val
optExpand: Unit
-
val
optIsUnary: Boolean
-
val
optopt: Option[String]
-
val
optoptInt: Option[Int]
-
lazy val
programInfo: Info
-
lazy val
referenceSpec: DemoSpec.type
-
val
selfUpdateName: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (DemoSpec, B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from Any
Inherited by implicit conversion any2stringadd from
DemoSpec to StringAdd
Inherited by implicit conversion any2stringfmt from
DemoSpec to StringFormat
Inherited by implicit conversion any2ArrowAssoc from
DemoSpec to ArrowAssoc[DemoSpec]
Inherited by implicit conversion any2Ensuring from
DemoSpec to Ensuring[DemoSpec]
A sample command specification for illustrative purposes. First take advantage of the meta-options:
// this command creates an executable runner script "demo" % scala scala.tools.cmd.Demo --self-update demo
// this one creates and sources a completion file - note backticks %
./demo --bash
// and now you have a runner with working completion % ./demo --<tab> --action --defint --int --bash --defstr --str --defenv --self-update --unary
The normal option configuration is plausibly self-explanatory.