Mercurial > repos > bgruening > sqlite_merger
view sqlite_merger.xml @ 1:101c76d0e9c1 draft default tip
Uploaded
| author | bgruening |
|---|---|
| date | Mon, 11 Aug 2014 18:02:28 -0400 |
| parents | 4e95f3a9ff1b |
| children |
line wrap: on
line source
<tool id="sqlite_merger" name="Merge SQLite" version="0.0.1"> <description>databases</description> <requirements> <requirement type="package" version="3.8.3">sqlite</requirement> </requirements> <version_command> <![CDATA[ sqlite3 --version | awk '{print $1;}' ]]> </version_command> <command> <![CDATA[ #for $inputfile in $inputfiles: sqlite3 $inputfile .dump >> dump; #end for sqlite3 $outfile < dump ]]> </command> <stdio> <exit_code range="1:" /> <exit_code range=":-1" /> <regex match="Error:" /> <regex match="Exception:" /> </stdio> <inputs> <repeat name="inputfiles" title="SQLite databases" min="2"> <param name="infile" type="data" format="sqlite" label="GEMINI database" /> </repeat> </inputs> <outputs> <data name="outfile" format="sqlite" label="${tool.name} on ${on_string}" /> </outputs> <tests> <test> </test> </tests> <help> **What it does** This tool merges several SQLite databases into one. http://www.sqlite.org/ </help> </tool>
