From d2836de24178b4c024c4294b1e5d61523cbff17c Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Tue, 28 Feb 2023 23:30:25 +0800 Subject: [PATCH] add list title --- src/ZM/Command/Plugin/PluginListCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ZM/Command/Plugin/PluginListCommand.php b/src/ZM/Command/Plugin/PluginListCommand.php index e982a58b..2d72971a 100644 --- a/src/ZM/Command/Plugin/PluginListCommand.php +++ b/src/ZM/Command/Plugin/PluginListCommand.php @@ -32,6 +32,7 @@ class PluginListCommand extends PluginCommand } $table = new Table($this->output); $table->setColumnMaxWidth(2, 27); + $table->setHeaderTitle('插件列表'); $table->setHeaders(['名称', '版本', '简介', '类型']); foreach ($all as $k => $v) { $table->addRow([$k, $v->getVersion(), $v->getDescription(), $this->getTypeDisplayName($v->getPluginType())]);