Incorrect error handling in flow related CLI commands
The error handling for flow related commands in the CLI that involve pass through calls to the flow compiler is incorrect in how it is returning exceptions and error codes. For successfully commands everything works OK, but for commands where an error is reported by the flow compiler, confused output can happen.
Functionality is not impacted, just the reporting of error messages.
The 'flow status' command has been corrected and the other flow related commands should be refactored to use the same pattern.