code: public int run(String... args) {
  
      CliParser parser = getParserBuilder().build(this);
      try {
        CliModeObject mode = parser.parseParameters(args);
        if (this.help) {
          assert (mode.getId().equals(CliMode.ID_HELP));
          printHelp(parser);
          return 0;
        }
        validate(mode);
        return run(mode);
      } catch (Exception e) {
        return handleError(e, parser);
      } finally {
        getStandardOutput().flush();
        getStandardError().flush();
      }
    }
docs: This method should be invoked from the static main-method.
  
  @param args are the commandline-arguments.
  @return the exit code or {@code 0} on success.