Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Commit a3234b7

Browse files
committed
[TASK] Add total count of extensions
1 parent 12181e0 commit a3234b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Classes/Command/ExtensionApiCommandController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public function listInstalledCommand($type = '') {
113113
$description = wordwrap($description, self::MAXIMUM_LINE_LENGTH - 43, PHP_EOL . str_repeat(' ', 43), TRUE);
114114
$this->outputLine('%-2s%-40s %s', array(' ', $title, $description));
115115
}
116+
117+
$this->outputLine('%-2s%-40s', array(' ', str_repeat('-', self::MAXIMUM_LINE_LENGTH - 3)));
118+
$this->outputLine(' Total: ' . count($extensions) . ' extensions');
116119
}
117120

118121
/**

0 commit comments

Comments
 (0)