require 'flydata/command/sync' require 'flydata/command/mysql_command_base' module Flydata module Command class Mysqldump < Sync include MysqlCommandBase def generate_command(dbconf, args) dbconf.delete('tables') dbconf[:custom_option_end] = args.join(' ') dbconf[:command] = 'mysqldump' FlydataCore::Mysql::CommandGenerator::generate_mysql_cmd(dbconf) end end end end