示例#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')
示例#2
0
文件: help.py 项目: oux/google-repo
            def __init__(self, gc):
                Coloring.__init__(self, gc, 'help')
                self.heading = self.printer('heading', attr='bold')

                self.wrap = AbstractFormatter(DumbWriter())
示例#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')
示例#4
0
 def __init__(self, config):
     Coloring.__init__(self, config, 'status')
     self.project = self.printer('header', attr='bold')
     self.text = self.printer('text')
示例#5
0
 def __init__(self):
     Coloring.__init__(self, gc, 'test color display')
     self._on = True
示例#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')
示例#7
0
 def __init__(self, config):
     Coloring.__init__(self, config, "status")
示例#8
0
 def __init__(self, gc):
     Coloring.__init__(self, gc, 'help')
     self.heading = self.printer('heading', attr='bold')
     self._first = True
示例#9
0
文件: stage.py 项目: oux/google-repo
 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')
示例#10
0
文件: forall.py 项目: oux/google-repo
 def __init__(self, config):
     Coloring.__init__(self, config, 'forall')
     self.project = self.printer('project', attr='bold')
示例#11
0
文件: forall.py 项目: oux/google-repo
 def __init__(self, config, cmd):
     Coloring.__init__(self, config, cmd)