protected function exportConfiguration()
    {
        $format = $this->command->choice('What format do you want your configuration in?', ConfigurationPublisher::$formats, 'php');
        $consolidated = $this->command->confirm('Do you want it consolidated (one file instead of many?', false);

        // Export configuration
        $this->igniter->exportConfiguration($format, $consolidated);
        $path = $this->paths->getRocketeerPath();

        // Summary
        $folder = basename(dirname($path)).'/'.basename($path);
        $this->command->writeln('<info>Your configuration was exported at</info> <comment>'.$folder.'</comment>.');

        return $path;
    }