def run_from_argv(self, argv):
        """
        Runs command for given arguments.

        :param argv: arguments
        """
        parser = self.get_parser(argv[0], argv[1])
        options, args = parser.parse_args(argv[2:])
        self.execute(*args, **options.__dict__)
def run_from_argv ( self , argv ) : parser = self . get_parser ( argv [ 0 ] , argv [ 1 ] ) options , args = parser . parse_args ( argv [ 2 : ] ) self . execute ( * args , ** options . __dict__ )
Runs command for given arguments.

        :param argv: arguments