mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
18
app/Console/Commands/Plugins/PluginsListCommand.php
Normal file
18
app/Console/Commands/Plugins/PluginsListCommand.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands\Plugins;
|
||||
|
||||
use App\Facades\Plugins;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class PluginsListCommand extends Command
|
||||
{
|
||||
protected $signature = 'plugins:list';
|
||||
|
||||
protected $description = 'List all installed plugins';
|
||||
|
||||
public function handle(): void
|
||||
{
|
||||
$this->table(['Name', 'Version'], Plugins::all());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user