public function __construct(InputInterface $input = null, OutputInterface $output = null, CliConfig $cliConfig = null, QuestionHelper $questionHelper = null)
{
$this->input = $input ?: new ArgvInput();
$this->output = $output ?: new NullOutput();
$this->stdErr = $this->output instanceof ConsoleOutputInterface ? $this->output->getErrorOutput() : $this->output;
$this->config = $cliConfig ?: new CliConfig();
$this->questionHelper = $questionHelper ?: new QuestionHelper($this->input, $this->output);
}