def create_command_class(name, func_module):
cmd_name = name[<NUM_LIT:3>:].replace('<STR_LIT:_>', '<STR_LIT:->')<EOL>callback = getattr(func_module, name)<EOL>desc = callback.__doc__ or '<STR_LIT>'<EOL>help = desc.strip().split('<STR_LIT:\n>')[<NUM_LIT:0>]<EOL>arguments = getattr(callback, '<STR_LIT>', [])<EOL>body = {<EOL>'<STR_LIT>': arguments,<EOL>'<STR_LIT>': staticmethod(callback),<EOL>'<STR_LIT>': desc,<EOL>'<STR_LIT>': desc,<EOL>'<STR_LIT>': help<EOL>}<EOL>claz = type('<STR_LIT>' % cmd_name.title().replace('<STR_LIT:->', '<STR_LIT>'),<EOL>(MigratingCommand,), body)<EOL>return cmd_name, claz<EOL>
Dynamically creates subclass of MigratingCommand.

    Method takes name of the function, module it is part of
    and builds the subclass of :py:class:`MigratingCommand`.
    Having a subclass of :py:class:`cliff.command.Command` is mandatory
    for the osc-lib integration.

    :param name: name of the function
    :type name: basestring
    :param func_module: the module function is part of
    :type func_module: module
    :return: command name, subclass of :py:class:`MigratingCommand`
    :rtype: tuple(basestring, class)