Packages

case class CommonOptions(workingDirectory: String = System.getProperty("user.dir"), out: PrintStream = System.out, in: InputStream = System.in, err: PrintStream = System.err, ngout: PrintStream = System.out, ngerr: PrintStream = System.err, threads: Int = ExecutionContext.nCPUs) extends Product with Serializable

Describes the common options for any command or CLI operation.

They exist for two purposes: testing and nailgun. In both cases we need a precise handling of these parameters because they change depending on the environment we're running on.

They are hidden because they are optional.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommonOptions(workingDirectory: String = System.getProperty("user.dir"), out: PrintStream = System.out, in: InputStream = System.in, err: PrintStream = System.err, ngout: PrintStream = System.out, ngerr: PrintStream = System.err, threads: Int = ExecutionContext.nCPUs)

Value Members

  1. val err: PrintStream
  2. val in: InputStream
  3. val ngerr: PrintStream
  4. val ngout: PrintStream
  5. val out: PrintStream
  6. val threads: Int
  7. val workingDirectory: String
  8. def workingPath: AbsolutePath