. */ /** * Doctrine_Task_GenerateYamlFromDb * * @package Doctrine * @subpackage Task * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.com * @since 1.0 * @version $Revision: 2761 $ * @author Jonathan H. Wage */ class Doctrine_Task_GenerateYamlFromDb extends Doctrine_Task { public $description = 'Generates a Yaml schema file from an existing database', $requiredArguments = array('yaml_schema_path' => 'Specify the path to your yaml schema files.'), $optionalArguments = array(); public function execute() { Doctrine_Facade::generateYamlFromDb($this->getArgument('yaml_schema_path')); } }