src/Run/Commands/ConfigTrait.php
protected function initializeConfig(InputInterface $input, OutputInterface $output, $render = true)
    {
        if ($workingDir = $input->getArgument('working-directory')) {
            chdir($workingDir);
        }
        $config = $this->loadConfig($input, $output);

        if ($render) {
            $this->renderConfig($output, $config);
        }
        return $config;
    }
protected function initializeConfig(InputInterface $input, OutputInterface $output, $render = true)
    {
        if ($workingDir = $input->getArgument('working-directory')) {
            chdir($workingDir);
        }
        $config = $this->loadConfig($input, $output);

        if ($render) {
            $this->renderConfig($output, $config);
        }
        return $config;
    }
Init config.
Locate file, load it and check values
@param InputInterface  $input
@param OutputInterface $output
@param bool            $render
@return array