. */ /** * Doctrine_Cli_Task_GenerateYamlFromDb * * @package Doctrine * @subpackage Cli * @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_Cli_Task_GenerateYamlFromDb extends Doctrine_Cli_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::generateYamlFromDb($this->getArgument('yaml_schema_path')); } }