You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this is implemented, the bin/run-all-petstore should use set -e (see https://stackoverflow.com/a/1379904) in order to propagate the error code back.
Also, looking at this a little more closely, exiting with status 1 will prevent scripts from piping Langs output to another command and parsing it. I'll look into whether the framework can define an exit code of 1 only when the commands is defaulted.
Inspired by #124
When the cli is run with wrong or no arguments, it returns the text:
Take this bash script:
The error status should be
1
and not0
The text was updated successfully, but these errors were encountered: