old_contents: # -*- coding: utf-8 -*-
  #
  # This module is part of the GeoTag-X project validator tool.
  #
  # Author: Jeremy Othieno (j.othieno@gmail.com)
  #
  # Copyright (c) 2016 UNITAR/UNOSAT
  #
  # The MIT License (MIT)
  # Permission is hereby granted, free of charge, to any person obtaining a copy
  # of this software and associated documentation files (the "Software"), to deal
  # in the Software without restriction, including without limitation the rights
  # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  # copies of the Software, and to permit persons to whom the Software is
  # furnished to do so, subject to the following conditions:
  #
  # The above copyright notice and this permission notice shall be included in all
  # copies or substantial portions of the Software.
  #
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
  # OR OTHER DEALINGS IN THE SOFTWARE.
  def main():
      """Executes the application.
      """
      import sys
      sys.exit(run(get_argparser().parse_args(sys.argv[1:])))
  
  
  def run(arguments):
      """Executes the application with the specified command-line arguments.
  
      Args:
          arguments (list): A list of command-line argument strings.
      """
      raise NotImplementedError()
  
  
  def get_argparser():
      """Constructs the application's command-line argument parser.
  
      Returns:
          argparse.ArgumentParser: A command-line argument parser instance.
      """
      raise NotImplementedError()
  
  
  def _version():
      """Returns the tool's version string.
      """
      from __init__ import __version__
      return "GeoTag-X Project Validator v%s, Copyright (C) 2016 UNITAR/UNOSAT." % __version__
  
  
  if __name__ == "__main__":
      main()
  
new_contents: # -*- coding: utf-8 -*-
  #
  # This module is part of the GeoTag-X project validator tool.
  #
  # Author: Jeremy Othieno (j.othieno@gmail.com)
  #
  # Copyright (c) 2016 UNITAR/UNOSAT
  #
  # The MIT License (MIT)
  # Permission is hereby granted, free of charge, to any person obtaining a copy
  # of this software and associated documentation files (the "Software"), to deal
  # in the Software without restriction, including without limitation the rights
  # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  # copies of the Software, and to permit persons to whom the Software is
  # furnished to do so, subject to the following conditions:
  #
  # The above copyright notice and this permission notice shall be included in all
  # copies or substantial portions of the Software.
  #
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
  # OR OTHER DEALINGS IN THE SOFTWARE.
  def main():
      """Executes the application.
      """
      import sys
      sys.exit(run(get_argparser().parse_args(sys.argv[1:])))
  
  
  def run(arguments):
      """Executes the application with the specified command-line arguments.
  
      Args:
          arguments (list): A list of command-line argument strings.
      """
      raise NotImplementedError()
  
  
  def get_argparser(subparsers=None):
      """Constructs the application's command-line argument parser. The validator tool
      is a standalone program but also a part of the GeoTag-X toolkit which means
      that its arguments can be sub-commands to a specific command. For more information,
      check out: https://docs.python.org/2/library/argparse.html#sub-commands
  
      Args:
          subparsers (argparse._SubParsersAction): If specified, the argument parser is
              created as a parser for a program command, and not the actual program.
  
      Returns:
          argparse.ArgumentParser: A command-line argument parser instance.
  
      Raises:
          TypeError: If subparsers is not None or an argparse._SubParsersAction instance.
      """
      import argparse
  
      parser = None
      parser_arguments = {
          "description": "Validate your GeoTag-X projects.",
          "add_help": False,
      }
      if subparsers is None:
          parser = argparse.ArgumentParser(prog="geotagx-validator", **parser_arguments)
      elif isinstance(subparsers, argparse._SubParsersAction):
          parser = subparsers.add_parser("validate", help="Validate your GeoTag-X projects.", **parser_arguments)
          parser.set_defaults(run=run)
      else:
          raise TypeError("Invalid parameter type: get_argparser expects 'argparse._SubParsersAction' but got '{}'.".format(type(subparsers).__name__))
  
      options = parser.add_argument_group("OPTIONS")
      options.add_argument("-h", "--help", action="help", help="Display this help and exit.")
      options.add_argument("-i", "--ignore-missing", action="store_true", help="Ignore missing configuration files.")
      options.add_argument("-q", "--quiet", action="store_true", help="Suppress all warnings.")
      options.add_argument("-v", "--verbose", action="store_true", help="Detail the actions being performed.")
      options.add_argument("-V", "--version", action="version", help="Display version information and exit.", version=_version())
  
      parser.add_argument("paths", metavar="PATH", nargs="+")
  
      return parser
  
  
  def _version():
      """Returns the tool's version string.
      """
      from __init__ import __version__
      return "GeoTag-X Project Validator v%s, Copyright (C) 2016 UNITAR/UNOSAT." % __version__
  
  
  if __name__ == "__main__":
      main()
  
subject: Implement the 'get_argparser' function