[click] issue with error management

@andre.anjos @amohammadi @tiago.pereira

For your information:

Due to the way the python click package handles the error messages, the errors and exceptions are somehow captured by click.

This result in the following:

Generated errors are converted to either a 0 or a 1 by click.

The end user never receives the error messages.

@samuel.gaist has add many issues with this on beat and did some workaround code and can give some other information if needed

Some interesting pointers: