code: def main():
      
      parsed_configuration = AlignakConfigParser()
      try:
          parsed_configuration.parse()
      except configparser.ParsingError as exp:
          print("Environment file parsing error: %s", exp)
  
      if parsed_configuration.export:
          # Export Alignak version
          print("export ALIGNAK_VERSION=%s" % (parsed_configuration.alignak_version))
docs: Main function