@classmethod
def command_line_name(cls):
    """Convert class name to lowercase with underscores.

        i.e. turn HttpMethods to http_methods.
        """
    final_string = cls.__name__[0].lower()
    for character in cls.__name__[1:]:
        if character.isupper():
            final_string += f'_{character.lower()}'
        else:
            final_string += character
    return final_string
