Chisel
If there is an environment variable chiselArguments, construct an Array[String] of its value split on ' ', otherwise, return a 0 length Array[String]
chiselArguments
Array[String]
This makes it easy to merge with command line arguments and have the latter take precedence.
def main(args: Array[String]) { val readArgs(chiselEnvironmentArguments() ++ args) ... }
value of environment variable chiselArguments split on ' ' or a 0 length Array[String]
The name of the environment variable containing the arguments.
If there is an environment variable
chiselArguments
, construct anArray[String]
of its value split on ' ', otherwise, return a 0 lengthArray[String]
This makes it easy to merge with command line arguments and have the latter take precedence.