Home
last modified time | relevance | path

Searched refs:Colors (Results 1 – 7 of 7) sorted by relevance

/dokuwiki/vendor/splitbrain/php-cli/src/
H A DCLI.php19 /** @var Colors */
24 'debug' => array('', Colors::C_RESET, STDOUT),
25 'info' => array('ℹ ', Colors::C_CYAN, STDOUT),
26 'notice' => array('☛ ', Colors::C_CYAN, STDOUT),
27 'success' => array('✓ ', Colors::C_GREEN, STDOUT),
28 'warning' => array('⚠ ', Colors::C_BROWN, STDERR),
29 'error' => array('✗ ', Colors::C_RED, STDERR),
30 'critical' => array('☠ ', Colors::C_LIGHTRED, STDERR),
31 'alert' => array('✖ ', Colors::C_LIGHTRED, STDERR),
32 'emergency' => array('✘ ', Colors::C_LIGHTRED, STDERR),
[all …]
H A DOptions.php31 /** @var Colors for colored help output */
40 * @param Colors $colors optional configured color object
43 public function __construct(Colors $colors = null)
48 $this->colors = new Colors();
377 $text .= $this->colors->wrap('USAGE:', Colors::C_BROWN);
383 $text .= $this->colors->wrap(' ' . $command, Colors::C_PURPLE);
388 $text .= ' ' . $this->colors->wrap('<OPTIONS>', Colors::C_GREEN);
396 $out = $this->colors->wrap('<' . $arg['name'] . '>', Colors::C_CYAN);
418 $text .= $this->colors->wrap('OPTIONS:', Colors::C_BROWN);
449 $text .= $this->colors->wrap('ARGUMENTS:', Colors::C_BROWN);
[all …]
H A DTableFormatter.php21 /** @var Colors for coloring output */
27 * @param Colors|null $colors
29 public function __construct(Colors $colors = null)
40 $this->colors = new Colors();
H A DColors.php13 class Colors class
/dokuwiki/bin/
H A Dplugin.php6 use splitbrain\phpcli\Colors; alias
60 echo $this->colors->wrap('AVAILABLE PLUGINS:', Colors::C_BROWN);
66 … echo $this->colors->wrap(" No plugins providing CLI components available\n", Colors::C_RED);
78 ['', Colors::C_CYAN, '']
/dokuwiki/lib/plugins/extension/
H A Dcli.php3 use splitbrain\phpcli\Colors; alias
336 $vcolor = Colors::C_RED;
339 $vcolor = Colors::C_GREEN;
344 $ecolor = Colors::C_BROWN;
346 $ecolor = Colors::C_DARKGRAY;
368 $this->colors->wrap($ext->getAuthor(), Colors::C_PURPLE))
373 Colors::C_YELLOW,
384 [null, Colors::C_CYAN]
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md89 Colored output is handled through the ``Colors`` class. It tries to detect if a color terminal is a…