core/Command/App/Enable.php 1 location
|
@@ 109-115 (lines=7) @@
|
| 106 |
|
* @param CompletionContext $context |
| 107 |
|
* @return string[] |
| 108 |
|
*/ |
| 109 |
|
public function completeArgumentValues($argumentName, CompletionContext $context) { |
| 110 |
|
if ($argumentName === 'app-id') { |
| 111 |
|
$allApps = \OC_App::getAllApps(); |
| 112 |
|
return array_diff($allApps, \OC_App::getEnabledApps(true, true)); |
| 113 |
|
} |
| 114 |
|
return []; |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
|
core/Command/Db/Migrations/StatusCommand.php 1 location
|
@@ 79-85 (lines=7) @@
|
| 76 |
|
* @param CompletionContext $context |
| 77 |
|
* @return string[] |
| 78 |
|
*/ |
| 79 |
|
public function completeArgumentValues($argumentName, CompletionContext $context) { |
| 80 |
|
if ($argumentName === 'app') { |
| 81 |
|
$allApps = \OC_App::getAllApps(); |
| 82 |
|
return array_diff($allApps, \OC_App::getEnabledApps(true, true)); |
| 83 |
|
} |
| 84 |
|
return []; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
/** |
| 88 |
|
* @param MigrationService $ms |