public function buildCommand($debug = false)
    {
        $this->outputLine('<b>Run build hook commands</b>');
        $this->commandService->executeHooks($this->buildHooks, function (...$args) { $this->outputLine(...$args); } );
        $this->sendAndExit(0);
    }