def run(self, *args):
        self.options += self.default_options()
        cmd_ns = self.parser.parse_args(args)
        logger.debug('Parsed command namespace: %s' % cmd_ns.__dict__)
        kwargs = {}
        for k, v in cmd_ns.__dict__.items():
            if k in self.args:
                kwargs[k] = v
        try:
            logger.debug('Running target:%s' % self.target)
            return self.target(**kwargs)
        except __HOLE__, e:
            raise CommandError('Invalid command args: %s' % e)
dataset/ETHPy150Open jmohr/compago/compago/command.py/Command.run