Is it possible to hide the output of detekt in ter...
# detekt
s
Is it possible to hide the output of detekt in terminal if it is all good? I would only like to see the errors.
Copy code
Successfully generated HTML report at /home/.../build/reports/detekt/detekt.html
Successfully generated Checkstyle XML report at /home/.../build/reports/detekt/detekt.xml

detekt finished in 10923 ms.
.................
Ruleset: comments
Ruleset: complexity
Ruleset: empty-blocks
Ruleset: exceptions
Ruleset: naming
Ruleset: performance
Ruleset: potential-bugs
Ruleset: style
Tried with -q and it didn't work
m
This might help. https://arturbosch.github.io/detekt/configurations.html#console-and-output-reports The
console-reports
portion. I don’t think it supports exactly what you’re after, but I suspect if you turned off everything except BuildFailureReport, you’d only see a report if there’s a failure.
s
thanks! will check it out now