Skip to content

vkorobkov/jfixtures-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

JFixtures-cmd

Command line interface for JFixtures project

Dependencies

JFixtures requires Java 8 or higher and it is written in Java 8.

Usage

  • 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 message

Examples

java -jar jfixtures-cmd-1.0.0.jar -src path/to/fixures/folder -dst path/to/ouput/file.sql -type sql99

About

Command line interface for Jfixtures project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •