diff --git a/src/BazarServiceProvider.php b/src/BazarServiceProvider.php index 7b2c013a..4797cf1e 100644 --- a/src/BazarServiceProvider.php +++ b/src/BazarServiceProvider.php @@ -9,6 +9,7 @@ use Cone\Root\Root; use Cone\Root\Support\Filters; use Illuminate\Auth\Events\Logout; +use Illuminate\Foundation\Console\AboutCommand; use Illuminate\Support\ServiceProvider; class BazarServiceProvider extends ServiceProvider @@ -105,6 +106,8 @@ protected function registerPublishes(): void */ protected function registerCommands(): void { + AboutCommand::add('Bazar', fn (): array => ['Version' => Bazar::VERSION]); + $this->commands([ Console\Commands\Install::class, Console\Commands\ClearCarts::class,