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

Commit cc32ead

Browse files
author
Georg Ringer
committed
[FEATURE] EM Update Task
1 parent da1428e commit cc32ead

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Classes/Command/ExtensionApiCommandController.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ public function listInstalledCommand($type = '') {
6060
* @return void
6161
*/
6262
public function updateListCommand() {
63+
/** @var $emTask tx_em_Tasks_UpdateExtensionList */
64+
$emTask = $this->objectManager->get('tx_em_Tasks_UpdateExtensionList');
65+
$emTask->execute();
66+
67+
$this->outputLine('Extension list has been updated.');
6368
}
6469

6570
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Checkout the project website at forge.typo3.org:
1414
* clearPageCache
1515
* clearConfigurationCache
1616

17-
### Sample CLI call: ###
18-
19-
./typo3/cli_dispatch.phpsh extbase api:clearAllCache
17+
### CLI call: ###
18+
This will show you all available calls
19+
./typo3/cli_dispatch.phpsh extbase help
2020

0 commit comments

Comments
 (0)