Skip to content

Commit

Permalink
add about command
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Mar 5, 2024
1 parent 82c8c86 commit 9d57cdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BazarServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 9d57cdb

Please sign in to comment.