spf13/cobra

CheckErr with custom status code

cedrata opened this issue · 0 comments

In some circumstances I would like to be able to call CheckErr with a different status code other than 1, that said I'd like to implement a new function in order to do that