protected function systemStatus(InputInterface $input, OutputInterface $output)
    {
        // If no apps, trigger app:Add command.
        $helper = $this->getHelper('question');
        $apps = $this->getApplication()->getTerra()->getConfig()->get('apps');
        if (empty($apps)) {
            $output->writeln('You have no apps!');
            $question = new ConfirmationQuestion("Add an App? [y\N] ", false);
            if ($helper->ask($input, $output, $question)) {
                // Run environment:add command.
                $command = $this->getApplication()->find('app:add');
                $command->run($input, $output);
                return;
            }
        }

        // APPS table.
        $table = $this->getHelper('table');
        $table->setHeaders(array(
        'APPS',
        'Description',
        'Repo',
        'Environments',
        ));

        $rows = array();
        $options = array();
        foreach ($this->getApplication()
               ->getTerra()
               ->getConfig()
               ->get('apps') as $app) {

            $options[] = $app['name'];
            $row = array(
            $app['name'],
            $app['description'],
            $app['repo'],
            is_array($app['environments']) ? implode(', ', array_keys($app['environments'])) : 'None',
            );
            $rows[] = $row;
        }
        $table->setRows($rows);
        $table->render($output);

        $helper = $this->getHelper('question');
        $question = new Question('App? ');
        $question->setAutocompleterValues($options);
//
//        // Run app status
//        $name = $helper->ask($input, $output, $question);
//        if (empty($name)) {
//            return;
//        }
//        else {
//            // If an app name was chosen, run appStatus
//            $formatter = $this->getHelper('formatter');
//            $input->setArgument('app_name', $name);
//            $this->appStatus($input, $output);
//
//        }
    }