3 <plugin name="PrettifyXML">
4 <event value="FILE_PACK_UNPACK" />
5 <description value="XML Prettier with tidy-html5. 
Arguments: Command line arugments passed to the tidy command." />
6 <file-filters value="\.xml$" />
7 <is-automatic value="false" />
8 <unpacked-file-extension value=".xml" />
9 <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify XML;GenerateEditorScript" />
10 <arguments value="-xml -indent --indent-attributes yes --tab-size 4 --indent-spaces 4 -wrap 0 --sort-attributes alpha" />
12 <command>"${WINMERGE_HOME}\Commands\tidy-html5\tidy.exe" ${*} -o "${DST_FILE}" "${SRC_FILE}"</command>
15 <plugin name="PrettifyJSON">
16 <event value="FILE_PACK_UNPACK" />
17 <description value="JSON Prettier with jq command. 
Arguments: Filter or command line options passed to the jq command." />
18 <file-filters value="\.json$" />
19 <is-automatic value="false" />
20 <unpacked-file-extension value=".json" />
21 <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify JSON;GenerateEditorScript" />
22 <arguments value=""."" />
24 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} > "${DST_FILE}"</command>
27 <plugin name="PrettifyYAML">
28 <event value="FILE_PACK_UNPACK" />
29 <description value="YAML Prettier with yq command. 
Arguments: Filter or command line options passed to the yq command." />
30 <file-filters value="\.yaml$;\.yml$" />
31 <is-automatic value="false" />
32 <unpacked-file-extension value=".yaml" />
33 <extended-properties value="ProcessType=Prettification;MenuCaption=Prettify YAML;GenerateEditorScript" />
34 <arguments value="-P e" />
36 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} > "${DST_FILE}"</command>
39 <plugin name="QueryCSV">
40 <event value="FILE_PACK_UNPACK" />
41 <description value="CSV Querier with q command. 
Arguments: SQL statement or command line options passed to the q command." />
42 <file-filters value="\.csv$" />
43 <is-automatic value="false" />
44 <unpacked-file-extension value=".csv" />
45 <extended-properties value="ProcessType=Data Query;MenuCaption=Query CSV Data...;ArgumentsRequired" />
46 <arguments value=""SELECT * FROM -"" />
48 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -d , ${*} > "${DST_FILE}"</command>
51 <plugin name="QueryTSV">
52 <event value="FILE_PACK_UNPACK" />
53 <description value="TSV Querier with q command. 
Arguments: SQL statement or command line options passed to the q command." />
54 <file-filters value="\.tsv$" />
55 <is-automatic value="false" />
56 <unpacked-file-extension value=".tsv" />
57 <extended-properties value="ProcessType=Data Query;MenuCaption=Query TSV Data...;ArgumentsRequired" />
58 <arguments value=""SELECT * FROM -"" />
60 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -t ${*} > "${DST_FILE}"</command>
63 <plugin name="QueryJSON">
64 <event value="FILE_PACK_UNPACK" />
65 <description value="JSON Querier with jq command. 
Arguments: Filter or command line options passed to the jq command." />
66 <file-filters value="\.json$" />
67 <is-automatic value="false" />
68 <unpacked-file-extension value=".json" />
69 <extended-properties value="ProcessType=Data Query;MenuCaption=Query JSON Data...;ArgumentsRequired" />
70 <arguments value=""."" />
72 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} > "${DST_FILE}"</command>
75 <plugin name="QueryYAML">
76 <event value="FILE_PACK_UNPACK" />
77 <description value="YAML Querier with yq command. 
Arguments: Filter or command line options passed to the yq command." />
78 <file-filters value="\.yaml$;\.yml$" />
79 <is-automatic value="false" />
80 <unpacked-file-extension value=".yaml" />
81 <extended-properties value="ProcessType=Data Query;MenuCaption=Query YAML Data...;ArgumentsRequired" />
82 <arguments value="e "." -" />
84 <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} > "${DST_FILE}"</command>
87 <plugin name="VisualizeGraphviz">
88 <event value="FILE_PACK_UNPACK" />
89 <description value="Graphviz Visualizer. 
Arguments: Command line options passed to the dot command." />
90 <file-filters value="\.gv;$\.dot$" />
91 <is-automatic value="false" />
92 <unpacked-file-extension value=".png" />
93 <extended-properties value="ProcessType=Visualization;MenuCaption=Visualize Graphviz" />
94 <arguments value="-Tpng" />
96 <command>dot.exe ${*} -o"${DST_FILE}" "${SRC_FILE}"</command>
99 <plugin name="ApacheTika">
100 <event value="FILE_PACK_UNPACK" />
101 <description value="General content extractor with Apache Tika. 
Arguments: Command line options passed to the tika-app.jar." />
102 <file-filters value="\.*$" />
103 <is-automatic value="false" />
104 <unpacked-file-extension value=".txt" />
105 <extended-properties value="ProcessType=Content Extraction;MenuCaption=Apache Tika;GenerateEditorScript" />
106 <arguments value="-eUTF-8 -t" />
108 <command>"${WINMERGE_HOME}\Commands\apache-tika\tika.bat" "${SRC_FILE}" "${DST_FILE}" ${*}</command>
112 <plugin name="VBScript-test">
113 <event value="FILE_PACK_UNPACK" />
114 <description value="VBScript test" />
115 <file-filters value="\.nomatch$" />
116 <is-automatic value="false" />
117 <unpacked-file-extension value=".txt" />
119 <command>cmd /c cscript //nologo "${SCRIPT_FILE}" "${SRC_FILE}" > "${DST_FILE}"</command>
120 <script fileExtension=".vbs">
121 WScript.StdOut.WriteLine "Hello World!"
122 WScript.StdOut.WriteLine WScript.Arguments(0)