Skip to content

Commit

Permalink
feat: add modules refresh command
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Apr 18, 2024
1 parent e4bed0b commit e328f9e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions App/Commands/PwRefresh.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace RockShell;

class PwRefresh extends Command
{

public function config()
{
$this
->setDescription("Trigger a modules::refresh");
}

public function handle()
{
$this->wire()->modules->refresh();
return self::SUCCESS;
}
}

0 comments on commit e328f9e

Please sign in to comment.