1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00

feat: add hamster script

This commit is contained in:
Christy Jacob 2023-01-26 17:15:29 +05:30
parent 73370ca746
commit cdf9745a2a

View file

@ -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');