org.codehaus.griffon.cli.shell.command
[Java] Class ExportDatabaseCommand
java.lang.Object
org.codehaus.griffon.cli.shell.AbstractGriffonCommand
org.codehaus.griffon.cli.shell.command.ExportDatabaseCommand
@Command(scope = "dbunit",
name = "export-database",
description = "Exports a database in XML format")
public class ExportDatabaseCommand
extends AbstractGriffonCommand
datasource
@Option(name = "--datasource",
description = "Name of the configured datasource found in DataSource.groovy",
required = false)
private String datasource
-
format
@Option(name = "--format",
description = "Format to use for exporting. Valid values are [flatxml, xml]",
required = false)
private String format
-
ExportDatabaseCommand
ExportDatabaseCommand()
-
Groovy Documentation