fix: [CLI] fixes to the appshell

- always load the configload task
pull/7953/head
iglocska 2021-11-11 10:45:21 +01:00
parent 2e58ff3272
commit 86e44ded50
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 0 deletions

View File

@ -33,11 +33,13 @@ class AppShell extends Shell
public function initialize()
{
parent::initialize();
$this->ConfigLoad = $this->Tasks->load('ConfigLoad');
$this->ConfigLoad->execute();
}
public function perform()
{
$this->initialize();
$this->{array_shift($this->args)}();
}