Author: david
Date: Wed Aug 24 09:51:53 2011
New Revision: 9578
Log:
Include application and environment parameters to load Qubit specific config
options (like web directory)
Modified:
trunk/lib/task/migrate/MigrateTask.class.php
Modified: trunk/lib/task/migrate/MigrateTask.class.php
==============================================================================
--- trunk/lib/task/migrate/MigrateTask.class.php Tue Aug 23 15:48:02
2011 (r9577)
+++ trunk/lib/task/migrate/MigrateTask.class.php Wed Aug 24 09:51:53
2011 (r9578)
@@ -61,6 +61,8 @@
));
$this->addOptions(array(
+ new sfCommandOption('application', null,
sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true),
+ new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED,
'The environment', 'cli'),
new sfCommandOption('target-version', 'T',
sfCommandOption::PARAMETER_OPTIONAL, 'Specify the target version for the
migrated data')
));
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.