def exec(self, args):
        """todo: Docstring for exec

        :param args: arg description
        :type args: type description
        :return:
        :rtype:
        """

        logger.debug("install %s, location %s", args.install, args.location)
        location = args.location and os.path.abspath(args.location)

        if location and len(args) > 1:
            raise Exception(("You cannot specify multiple install packages when "
                             "using the --location option."
                            ))

        for repo in args.install:
            self.install_repo(repo, location)