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
- Alphabetic
- By Inheritance
Inherited
- CommonOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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)