Exemple #1
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'status')
     self.project = self.printer('header', attr='bold')
     self.untracked = self.printer('untracked', fg='red')
Exemple #2
0
            def __init__(self, gc):
                Coloring.__init__(self, gc, 'help')
                self.heading = self.printer('heading', attr='bold')

                self.wrap = AbstractFormatter(DumbWriter())
Exemple #3
0
 def __init__(self, config):
   Coloring.__init__(self, config, 'grep')
   self.project = self.printer('project', attr='bold')
   self.fail = self.printer('fail', fg='red')
Exemple #4
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'status')
     self.project = self.printer('header', attr='bold')
     self.text = self.printer('text')
Exemple #5
0
 def __init__(self):
     Coloring.__init__(self, gc, 'test color display')
     self._on = True
Exemple #6
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'branch')
     self.current = self.printer('current', fg='green')
     self.local = self.printer('local')
     self.notinproject = self.printer('notinproject', fg='red')
Exemple #7
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
Exemple #8
0
 def __init__(self, gc):
     Coloring.__init__(self, gc, 'help')
     self.heading = self.printer('heading', attr='bold')
     self._first = True
Exemple #9
0
 def __init__(self, gc):
     Coloring.__init__(self, gc, 'interactive')
     self.prompt = self.printer('prompt', fg='blue', attr='bold')
     self.header = self.printer('header', attr='bold')
     self.help = self.printer('help', fg='red', attr='bold')
Exemple #10
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'forall')
     self.project = self.printer('project', attr='bold')
Exemple #11
0
 def __init__(self, config, cmd):
     Coloring.__init__(self, config, cmd)