scala.tools

cmd

package cmd

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. cmd
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CommandLine extends CommandLineConfig

    An instance of a command line, parsed according to a Spec.

  2. trait CommandLineConfig extends AnyRef

  3. class Demo extends DemoSpec with Instance

  4. trait DemoSpec extends Spec with StdOpts with Interpolation

    A sample command specification for illustrative purposes.

  5. abstract class FromString[+T] extends PartialFunction[String, T]

    A general mechanism for defining how a command line argument (always a String) is transformed into an arbitrary type.

  6. trait Instance extends Spec

    The trait mixed into each instance of a specification.

  7. trait Interpolation extends AnyRef

    Interpolation logic for generated files.

  8. trait ParserUtil extends Parsers

    A simple (overly so) command line parser.

  9. trait Property extends Reference

  10. class PropertyMapper extends ((String, String)) ⇒ List[String]

    Contains logic for translating a property key/value pair into equivalent command line arguments.

  11. trait Reference extends Spec

    Mixes in the specification trait and uses the vals therein to side-effect private accumulators.

  12. trait Spec extends AnyRef

    This trait works together with others in scala.

Value Members

  1. object Demo

  2. object DemoSpec extends DemoSpec with Property

  3. object FromString

  4. object Interpolation

  5. object Meta

    Meta-options for command line tools.

  6. object Opt

    Machinery for what amounts to a command line specification DSL.

  7. object Parser extends RegexParsers with ParserUtil

  8. object Reference

  9. object Spec

  10. def fromArgs(args: List[String]): String

    Definition Classes
    package
  11. def fromOpt(s: String): String

    Definition Classes
    package
  12. package gen

  13. def returning[T](x: T)(f: (T) ⇒ Unit): T

    Definition Classes
    package
  14. def runAndExit(body: ⇒ Unit): Nothing

    Definition Classes
    package
  15. def stripQuotes(s: String): String

    Definition Classes
    package
  16. def toArgs(line: String): List[String]

    Definition Classes
    package
  17. def toOpt(s: String): String

    Definition Classes
    package

Inherited from AnyRef

Inherited from Any