Can we have a CLI parameter to let gocyclo exit with non-zero value in case there are files meet -over criteria?
I'm thinking of using gocyclo in CI job, instead of pipe output to a file, then check if the file is empty or not to determine offending files, it will be great to have an option mentioned above.
Can we have a CLI parameter to let gocyclo exit with non-zero value in case there are files meet
-over
criteria?I'm thinking of using gocyclo in CI job, instead of pipe output to a file, then check if the file is empty or not to determine offending files, it will be great to have an option mentioned above.