Changeset 33312
- Timestamp:
- 01/26/12 16:08:57 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfSyncContentPlugin/trunk/lib/task/synccontentTask.class.php
r33196 r33312 18 18 protected function configure() 19 19 { 20 20 21 $this->addArguments(array( 21 22 new sfCommandArgument('application', 22 sfCommandArgument::REQUIRED, 23 'The application name ("frontend")'), 23 sfCommandArgument::OPTIONAL, 24 'The application name ("frontend")', 25 'frontend'), 24 26 new sfCommandArgument('env', 25 sfCommandArgument::REQUIRED, 26 'The local environment ("dev")'), 27 sfCommandArgument::OPTIONAL, 28 'The local environment ("dev")', 29 'dev'), 27 30 new sfCommandArgument('direction', 28 sfCommandArgument::REQUIRED, 29 'Either "from" or "to"; when you specify "from" content is copied FROM the remote site, when you specify "to" content is copied TO the remote site'), 31 sfCommandArgument::OPTIONAL, 32 'Either "from" or "to"; when you specify "from" content is copied FROM the remote site, when you specify "to" content is copied TO the remote site', 33 'from'), 30 34 new sfCommandArgument('remoteenv', 31 sfCommandArgument::REQUIRED, 32 'The remote environment and site. The site name must be defined in properties.ini'))); 35 sfCommandArgument::OPTIONAL, 36 'The remote environment and site. The site name must be defined in properties.ini', 37 'prod@production'))); 38 33 39 34 40 $this->addOptions(array(