feat: add hamster script
This commit is contained in:
parent
73370ca746
commit
cdf9745a2a
|
@ -65,7 +65,7 @@ class Hamster extends Action
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->desc('Get stats for project')
|
->desc('Get stats for projects')
|
||||||
->inject('register')
|
->inject('register')
|
||||||
->inject('pools')
|
->inject('pools')
|
||||||
->inject('cache')
|
->inject('cache')
|
||||||
|
@ -145,7 +145,7 @@ class Hamster extends Action
|
||||||
|
|
||||||
public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void
|
public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void
|
||||||
{
|
{
|
||||||
Console::success('Getting stats...');
|
Console::info('Getting stats...');
|
||||||
|
|
||||||
/* Initialise new Utopia app */
|
/* Initialise new Utopia app */
|
||||||
$app = new App('UTC');
|
$app = new App('UTC');
|
||||||
|
|
Loading…
Reference in a new issue