Skip to content

Commit 20388b2

Browse files
committed
Add Info Command class
1 parent eeae3e7 commit 20388b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Console/Command/InfoCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ public function execute(): mixed
100100
$writer->boldBlueBgBlack($this->config->get('app.debug', false) ? 'On' : 'Off', true);
101101

102102
$packages = $this->getPackages();
103+
104+
$writer->bold('Installed Packages: ');
105+
$writer->boldBlueBgBlack(count($packages), true);
103106

104-
$writer->bold(sprintf('Installed Packages: (%d)', count($packages)), true);
105107
/** @var array<int, array<int, array<string, string>>> $rows*/
106108
$rows = [];
107109
foreach ($packages as $package) {

0 commit comments

Comments
 (0)