in plugin-bazel-event-service/src/main/kotlin/bazel/handlers/build/StructuredCommandLineHandler.kt [9:25]
override fun handle(ctx: BuildEventHandlerContext): Boolean {
if (!ctx.event.hasStructuredCommandLine()) {
return false
}
if (ctx.verbosity.atLeast(Verbosity.Detailed)) {
val label =
ctx.event
.structuredCommandLine
.commandLineLabel
.takeIf { it.isNotEmpty() } ?: "tool"
ctx.writer.message("Run $label")
}
return true
}