protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'ds'; $this->name = 'enrolment-add-fee'; $this->briefDescription = 'compute + save fee on all enrolment-records'; $this->detailedDescription = <<<EOF The [ds:enrolment-add-fee|INFO] command computes + saves the fee on all enrolment-records: [./symfony ds:enrolment-add-fee|INFO] By default, the task is in dry-mode. To do a real sync, you must pass the [--go|COMMENT] option: [./symfony dropbox:sync --go|INFO] EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do it'), new sfCommandOption('message-limit', null, sfCommandOption::PARAMETER_OPTIONAL, 'The maximum number of messages to send', 0), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'rockstep'; $this->name = 'letter_send'; $this->briefDescription = 'send letter to open (sent_at = null) recipients'; $this->detailedDescription = <<<EOF FOO BAR todo .... EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'class'; $this->name = 'add-weekday'; $this->briefDescription = 'add weekday from first date / lesson '; $this->detailedDescription = <<<EOF FOO BAR The [dropbox:sync|INFO] command pushes all new or modified files to you dropbox: .... EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'class'; $this->name = 'add-dance-from-track'; $this->briefDescription = 'add dance info from track record ....'; $this->detailedDescription = <<<EOF FOO BAR The [dropbox:sync|INFO] command pushes all new or modified files to you dropbox: [./symfony dropbox:sync|INFO] The Dropbox-account must be configured in [app.yml|COMMENT]: [dropbox: consumer_key: dgz37k324ogxtge consumer_secret: dgz37k324ogxtge token: dgz37k324ogxtge token_secret: dgz37k324ogxtge root: Website/Reports/|INFO] By default, the task is in dry-mode. To do a real sync, you must pass the [--go|COMMENT] option: [./symfony dropbox:sync --go|INFO] You can ignore the sync-status an force pushing all files to dropbox with the [--force|COMMENT] option: [./symfony dropbox:sync --go --force|INFO] EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'rockstep'; $this->name = 'enrolment-reset-continue'; $this->briefDescription = 'set all continue flags to NULL'; $this->detailedDescription = <<<EOF FOO BAR .... EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'class'; $this->name = 'add_lessons'; $this->briefDescription = 'add lessons from first/last-date if not existant'; $this->detailedDescription = <<<EOF FOO BAR .... EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'dsm'; $this->name = 'migrate-person'; $this->briefDescription = 'Copies guardProfile to dsPerson ....'; $this->detailedDescription = <<<EOF The [dsm:migrateProfile2Person|INFO] command pushes all new or modified files to you dropbox: [./symfony dsm:migrateProfile2Person|INFO] EOF; }
protected function configure() { parent::configure(); $this->addOptions(array( //new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the sync'), //new sfCommandOption('force', null, sfCommandOption::PARAMETER_NONE, 'Ignore sync and force upload for all files'), //new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application', 'frontend'), //new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'prod'), )); $this->namespace = 'rockstep'; $this->name = 'enrolments-pending-setabsent'; $this->briefDescription = 'set flat "will-attend" of ALL students of type "pending" to NULL '; $this->detailedDescription = <<<EOF FOO BAR .... EOF; }