def print(self):
        """Print self."""
        print(
            '{dim}Identifier:{none} {cyan}{identifier}{none}\n'
            '{dim}Name:{none} {name}\n'
            '{dim}Description:{none}\n{description}'.format(
                dim=Style.DIM,
                cyan=Fore.CYAN,
                none=Style.RESET_ALL,
                identifier=self.identifier,
                name=self.name,
                description=pretty_description(self.description, indent=2)
            )
        )

        if hasattr(self, 'argument_list') and self.argument_list:
            print('{dim}Arguments:{none}'.format(
                dim=Style.DIM, none=Style.RESET_ALL))
            for argument in self.argument_list:
                argument.print(indent=2)
def print ( self ) : print ( '{dim}Identifier:{none} {cyan}{identifier}{none}\n' '{dim}Name:{none} {name}\n' '{dim}Description:{none}\n{description}' . format ( dim = Style . DIM , cyan = Fore . CYAN , none = Style . RESET_ALL , identifier = self . identifier , name = self . name , description = pretty_description ( self . description , indent = 2 ) ) ) if hasattr ( self , 'argument_list' ) and self . argument_list : print ( '{dim}Arguments:{none}' . format ( dim = Style . DIM , none = Style . RESET_ALL ) ) for argument in self . argument_list : argument . print ( indent = 2 )
Print self.