In a custom SFDX CLI plugin, how do I return a nice non-zero status code and error message so that they can be correctly interpreted by shell scripts and also programs reading the --json output ?
2 comments
Thanks Matthias.
I looked into SfdxError and set exitCode : that's what I was looking for, thanks.