protected function execConsoleApp()
    {
        $app = new Application();
        $config = $this->getConfigArray();
        $container = new Container(["settings" => $config]);
        $this->setupDependencies($container);
        $this->setupCommands($app, $container);
        $app->run();
    }