netsuite-suitecloud-sdk
netsuite-suitecloud-sdk copied to clipboard
exit codes and printing errors to STDERR
Similar to this comment, I've run into some headaches caused by the fact that errors are printed to STDOUT not STDERR. Nothing I can't work around (yet) but it's something I have to take into account and handle when working on tooling that uses suitecloud
.
I have also noticed that not all commands exit with non-zero exit codes on error: suitecloud project:validate
does but suitecloud project:deploy
does not, at least not if the error happened during validation. This would make developing tooling that uses deploy
considerably more difficult.
If there isn't good reason not to, it would be helpful to have errors printed to STDERR and for all commands to only exit with 0 if they were successful.
Thanks for bringing this up. We will evaluate this and get back to you. @starlingjon