/** * Primary task entry point * * @param array $args The current supplied options. */ public function execute($args) { $this->_return .= "Started: " . date('Y-m-d g:ia T') . "\n\n"; $this->_return .= "[db:schema]: \n"; //write to disk $schema_file = $this->db_dir() . '/schema.txt'; $schema = $this->_adapter->schema($schema_file); $this->_return .= "\tSchema written to: {$schema_file}\n\n"; $this->_return .= "\n\nFinished: " . date('Y-m-d g:ia T') . "\n\n"; return $this->_return; }