Command line interface for JFixtures project
JFixtures requires Java 8 or higher and it is written in Java 8.
- Download the last version of jfixtures-cmd jar file from maven central(TODO: place a link here)
- Navigate to the folder where jfixtures-jar is localed
- Type a bash command:
java -jar jfixtures-cmd-1.XX.jar <options>
where options are:
-type [required]
the database dialect to general SQL result for. Possible values are:
* mysql
* mssql
* sql99 (such as Oracle, Sybase, Postgres, H2, SQLite and etc.)
* xml (for export to XML format)
Not cases sensitive.
-src [required]
relative or full path to the folder where the source yaml fixtures are
-dst [required]
relative or full path to the destination SQL/XML file. Old file(if exists) will be overriten.
-h, --help [optional]
Print help messagejava -jar jfixtures-cmd-1.0.0.jar -src path/to/fixures/folder -dst path/to/ouput/file.sql -type sql99