cosign icon indicating copy to clipboard operation
cosign copied to clipboard

Add quiet flag to cosign cli

Open udf2457 opened this issue 2 years ago • 1 comments
trafficstars

There does not appear to be a quiet flag for cosign which means its not possible to silence extraneous output when using cosign in scripts, for example cosign verify-blob outputs Verified OK, when in reality for scripts we're only interested in the exit code.

udf2457 avatar Mar 23 '23 17:03 udf2457

I believe the (in-progress) work in https://github.com/sigstore/cosign/issues/2510 will make this really easy to do.

I might bikeshed on the flag name but agreed that this is a good idea.

znewman01 avatar Mar 25 '23 15:03 znewman01