We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e14172c commit cfd2352Copy full SHA for cfd2352
src/console/AssetPackageController.php
@@ -63,6 +63,13 @@ public function actionUpdateList($file = STDIN)
63
echo "\n";
64
}
65
66
+ public function actionAddUpdateCommand($type, $name)
67
+ {
68
+ $package = new AssetPackage($type, $name);
69
+ Yii::$app->queue->push(Yii::createObject(PackageUpdateCommand::class, [$package]));
70
+ echo Console::renderColoredString("%GAdded%N $type/$name%n\n");
71
+ }
72
+
73
public function actionUpdateAll()
74
{
75
$this->actionUpdateList(Yii::getAlias('@hiqdev/assetpackagist/config/packages.list'));
0 commit comments