protected function runInternal()
 {
     parent::runInternal();
     $list = $this->getList();
     $segments = $this->getSegments();
     if (count($segments)) {
         $this->debug(Deliverance::_('Updating Segment Counts') . "\n\n", true);
         foreach ($segments as $segment) {
             $this->updateSegment($list, $segment);
         }
     } else {
         $this->debug(Deliverance::_('No segments found. '), true);
     }
     $this->debug(Deliverance::_('All Done.') . "\n", true);
 }
 protected function addConfigDefinitions(SiteConfigModule $config)
 {
     parent::addConfigDefinitions($config);
     $config->addDefinitions(Deliverance::getConfigDefinitions());
 }
 protected function getDefaultModuleList()
 {
     $list = parent::getDefaultModuleList();
     $list['config'] = 'SiteCommandLineConfigModule';
     $list['database'] = 'SiteDatabaseModule';
     return $list;
 }