Skip to content

Commit e357790

Browse files
committed
Colorize CLI prompts
1 parent d992ce0 commit e357790

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Commands/SelfUpdate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function run(array $params)
3131
$codex = $this->patches->getCodex();
3232
$sources = $this->patches->getSources();
3333

34-
CLI::write('Using the following configuration:');
34+
CLI::write('Using the following configuration:', 'light_cyan');
3535
CLI::table([
3636
['Updater', $codex->config->updater],
3737
['Merger', $codex->config->merger],
@@ -91,7 +91,7 @@ protected function mergeMenu(): bool
9191
return CLI::prompt('Selection?', ['p', 'q']) === 'p';
9292
}
9393

94-
CLI::write('What would you like to do:');
94+
CLI::write('What would you like to do:', 'light_cyan');
9595
CLI::write('(P)roceed with the merge');
9696
CLI::write('(L)ist all files');
9797
CLI::write('Show (C)hanged files (' . $counts['changed'] . ')');
@@ -150,7 +150,7 @@ protected function conflictsMenu(): bool
150150
return true;
151151
}
152152

153-
CLI::write('What would you like to do:');
153+
CLI::write('What would you like to do:', 'light_cyan');
154154
CLI::write('(L)ist conflict files');
155155
CLI::write('(G)uided resolution');
156156
CLI::write('(O)verwrite all files');
@@ -282,7 +282,7 @@ protected function complete(): self
282282
$codex = $this->patches->getCodex();
283283
$codex->save();
284284

285-
CLI::write('Workspace with codex and files:');
285+
CLI::write('Workspace with codex and files:', 'light_cyan');
286286
CLI::write($codex->workspace);
287287

288288
return $this;

0 commit comments

Comments
 (0)