mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
add list title
This commit is contained in:
parent
7f26dd6edd
commit
d2836de241
@ -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())]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user