public function getProgressBar() : ProgressBar
    {
        if (!$this->progressBar) {
            $this->progressBar = new ProgressBar($this->getOutput(), $this->numRecords);
            $this->progressBar->setFormat('debug');
            $this->progressBar->setBarWidth((int) exec('tput cols'));
        }

        return $this->progressBar;
    }