INNER CODE UNIT · Kotlin
run
islandoftex/arara · cli/src/jvmMain/kotlin/org/islandoftex/arara/cli/CLI.kt:301
override fun run() {
// initializing logging has to come first; init() actually disables
// the logging, so early exceptions won't generate a lot of noise in
// the terminal
LoggingUtils.init()
println("${DisplayUtils.logoString}\n")
val executionStart = TimeSource.Monotonic.markNow()
updateConfigurationFromCommandLine()
// logging has to be initialized only once and for all because
// context resets lead to missing output
LoggingUtils.setupLogging(Session.loggingOptions)
// add all key/value pairs found in the properties file, if
// provided in the command line
properties?.toMap()?.forEach { (key, value) -> Session.put("arg:$key", value) }