DSD-DBS / capella-polarion

Capella-Polarion Bridge - bi-directional integration of the 2 things based on REST API
https://dsd-dbs.github.io/capella-polarion/
3 stars 1 forks source link

feat: Add exit codes to __main__ #72

Open ewuerger opened 3 months ago

ewuerger commented 3 months ago

The exit codes are determined from the logs. If there is one warning the exit code 2 is used. If there is at least one error logged -> exit code 1. If only debug and info is logged exit code 0 is used.

This can be enabled with the flag --determine-exit-code-from-logs.