public function getProgress($total = null)
    {
        if (!$this->progress || $this->progress->getMaxSteps() === $this->progress->getProgress()) {
            $this->progress = new ProgressBar($this->output, $total);
        }

        return $this->progress;
    }