This PR improves error handling and fixes some bugs / unclear usage:
Some flags were also updated / introduced in monokle validate to better handle exit codes. This makes usages easier in automated environments.
--force will return status code 0 even if there were warnings or errors.
--max-warnings will return status code 1 if there the amount of warnings is higher than the maximum. This is useful for use cases where CI pipelines check that the amount of warnings always go down (can be a moving target).
This PR improves error handling and fixes some bugs / unclear usage:
Some flags were also updated / introduced in
monokle validate
to better handle exit codes. This makes usages easier in automated environments.--force
will return status code 0 even if there were warnings or errors.--max-warnings
will return status code 1 if there the amount of warnings is higher than the maximum. This is useful for use cases where CI pipelines check that the amount of warnings always go down (can be a moving target).