public function __construct($id, $filename, $title, $documentation)
 {
     $number_of_segements = new SiteCommandLineArgument(array('-n', '--number-of-segments'), 'setNumberOfSegments', Deliverance::_('Sets the number of segments we want to split ' . 'the list into.'));
     $number_of_segements->addParameter('integer', Deliverance::_('--number-of-segments expects a single paramater.'));
     $this->addCommandLineArgument($number_of_segements);
     parent::__construct($id, $filename, $title, $documentation);
     $this->initLastSegments();
 }
 public function __construct($id, $filename, $title, $documentation)
 {
     parent::__construct($id, $filename, $title, $documentation);
     $this->verbosity = self::VERBOSITY_ALL;
     $campaign = new SiteCommandLineArgument(array('-c', '--campaign'), 'setCampaignShortname', 'Sets the campaign shortname of ' . 'the campaign to build.');
     $campaign->addParameter('string', '--campaign expects a single paramater.');
     $this->addCommandLineArgument($campaign);
 }
 public function __construct($id, $filename, $title, $documentation)
 {
     parent::__construct($id, $filename, $title, $documentation);
     $instance = new SiteCommandLineArgument(array('-i', '--instance'), 'setInstance', 'Optional. Sets the site instance for which to ' . 'run this application.');
     $instance->addParameter('string', 'instance name must be specified.');
     $this->addCommandLineArgument($instance);
     $dry_run = new SiteCommandLineArgument(array('--dry-run'), 'setDryRun', Deliverance::_('No data is actually modified.'));
     $this->addCommandLineArgument($dry_run);
 }
 public function __construct($id, $filename, $title, $documentation)
 {
     parent::__construct($id, $filename, $title, $documentation);
     $this->verbosity = self::VERBOSITY_ALL;
     $incremental = new SiteCommandLineArgument(array('--incremental'), 'setIncremental', Deliverance::_('When set only updates members of the list that have not been ' . 'updated.'));
     $this->addCommandLineArgument($incremental);
     $update_member_cache = new SiteCommandLineArgument(array('-u', '--update-member-cache'), 'setUpdateMemberCache', Deliverance::_('Sets whether to only use resources from s3.'));
     $this->addCommandLineArgument($update_member_cache);
     $field = new SiteCommandLineArgument(array('-f', '--field'), 'setField', Deliverance::_('Sets the field that we\'re updating. Will also set the ' . 'merge as the uppercase version of the field.'));
     $field->addParameter('string', Deliverance::_('--field expects a single paramater.'));
     $this->addCommandLineArgument($field);
     $merge = new SiteCommandLineArgument(array('-m', '--merge'), 'setMerge', Deliverance::_('Sets the merge for the field.'));
     $merge->addParameter('string', Deliverance::_('--merge expects a single paramater.'));
     $this->addCommandLineArgument($merge);
     $this->initModules();
     $this->parseCommandLineArguments();
     $this->initList();
     $this->initArrayMap();
     $this->initResultsArray();
 }