

def set_style(self, name, fg=None, bg=None, options=None):
    '\n        Sets a new style\n\n        :param name: The name of the style\n        :type name: str\n\n        :param fg: The foreground color\n        :type fg: str\n\n        :param bg: The background color\n        :type bg: str\n\n        :param options: The options\n        :type options: list\n        '
    style = OutputFormatterStyle(fg, bg, options)
    self.output.get_formatter().set_style(name, style)

dataset/ETHPy150Open sdispater/cleo/cleo/commands/command.py Command.set_style/original