Searched refs:colors (Results 1 – 9 of 9) sorted by path
65 echo $this->colors->wrap('AVAILABLE PLUGINS:', Colors::C_BROWN);71 echo $this->colors->wrap(" No plugins providing CLI components available\n", Colors::C_RED);73 $tf = new TableFormatter($this->colors);
328 $tr = new TableFormatter($this->colors);372 $this->colors->wrap($ext->getAuthor(), Colors::C_PURPLE)
123 $tr = new TableFormatter($this->colors);
56 ; main text and background colors59 ; alternative text and background colors62 ; neutral text and background colors
90 then uses terminal colors. You can always suppress colored output by passing ``--no-colors`` to your scripts.91 Disabling colors will also disable the emoticon prefixes.96 For more complex coloring you can access the color class through ``$this->colors`` in your script. The ``wrap()`` method99 The table formatter allows coloring full columns. To use that mechanism pass an array of colors as third parameter to
22 public $colors; variable in splitbrain\\phpcli\\Base 98 $this->colors = new Colors();99 $this->options = new Options($this->colors);161 'no-colors',162 'Do not use any colors in output. Useful when piping output to other tools or files.'166 'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Colors::C_CYAN) . '. ' .178 if ($this->options->getOpt('no-colors')) {179 $this->colors->disable();302 // when colors are wanted, we also add the icon303 if ($this->colors[all...]
35 protected $colors = array( variable in splitbrain\\phpcli\\Colors 55 /** @var bool should colors be used? */61 * Tries to disable colors for non-terminals140 if (!isset($this->colors[$color])) {144 return $this->colors[$color];
32 protected $colors; variable in splitbrain\\phpcli\\Options 40 * @param Colors $colors optional configured color object43 public function __construct(Colors $colors = null) argument 45 if (!is_null($colors)) {46 $this->colors = $colors;48 $this->colors = new Colors();365 $tf = new TableFormatter($this->colors);377 $text .= $this->colors->wrap('USAGE:', Colors::C_BROWN);383 $text .= $this->colors[all...]
22 protected $colors; variable in splitbrain\\phpcli\\TableFormatter 27 * @param Colors|null $colors29 public function __construct(Colors $colors = null) argument 37 if ($colors) {38 $this->colors = $colors;40 $this->colors = new Colors();185 * @param array $colors A list of color names to use for each column. use empty string for default189 public function format($columns, $texts, $colors = array()) argument 215 if (isset($colors[[all...]