OSDN Git Service

ConfigLog.cpp: Do not output the path of the plugin described in Plugins.xml or the...
[winmerge-jp/winmerge-jp.git] / Plugins / Plugins.xml
1 <?xml version="1.0"?>
2 <plugins>
3   <plugin name="PrettifyXML">
4     <event value="FILE_PACK_UNPACK" />
5     <description value="XML Prettier with tidy-html5. &#xD;&#xA;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" />
11     <unpack-file>
12     <command>"${WINMERGE_HOME}\Commands\tidy-html5\tidy.exe" ${*} -o "${DST_FILE}" "${SRC_FILE}"</command>
13     </unpack-file>
14   </plugin>
15   <plugin name="PrettifyJSON">
16     <event value="FILE_PACK_UNPACK" />
17     <description value="JSON Prettier with jq command. &#xD;&#xA;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="&quot;.&quot;" />
23     <unpack-file>
24     <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} &gt; "${DST_FILE}"</command>
25     </unpack-file>
26   </plugin>
27   <plugin name="PrettifyYAML">
28     <event value="FILE_PACK_UNPACK" />
29     <description value="YAML Prettier with yq command. &#xD;&#xA;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" />
35     <unpack-file>
36     <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} &gt; "${DST_FILE}"</command>
37     </unpack-file>
38   </plugin>
39   <plugin name="QueryCSV">
40     <event value="FILE_PACK_UNPACK" />
41     <description value="CSV Querier with q command. &#xD;&#xA;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="&quot;SELECT * FROM -&quot;" />
47     <unpack-file>
48       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -d , ${*} &gt; "${DST_FILE}"</command>
49     </unpack-file>
50   </plugin>
51   <plugin name="QueryTSV">
52     <event value="FILE_PACK_UNPACK" />
53     <description value="TSV Querier with q command. &#xD;&#xA;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="&quot;SELECT * FROM -&quot;" />
59     <unpack-file>
60       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\q\q.bat" -t ${*} &gt; "${DST_FILE}"</command>
61     </unpack-file>
62   </plugin>
63   <plugin name="QueryJSON">
64     <event value="FILE_PACK_UNPACK" />
65     <description value="JSON Querier with jq command. &#xD;&#xA;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="&quot;.&quot;" />
71     <unpack-file>
72       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\jq\jq.exe" ${*} &gt; "${DST_FILE}"</command>
73     </unpack-file>
74   </plugin>
75   <plugin name="QueryYAML">
76     <event value="FILE_PACK_UNPACK" />
77     <description value="YAML Querier with yq command. &#xD;&#xA;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 &quot;.&quot; -" />
83     <unpack-file>
84       <command>cmd /c type "${SRC_FILE}" | "${WINMERGE_HOME}\Commands\yq\yq.bat" ${*} &gt; "${DST_FILE}"</command>
85     </unpack-file>
86   </plugin>
87   <plugin name="VisualizeGraphviz">
88     <event value="FILE_PACK_UNPACK" />
89     <description value="Graphviz Visualizer. &#xD;&#xA;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" />
95     <unpack-file>
96       <command>dot.exe ${*} -o"${DST_FILE}" "${SRC_FILE}"</command>
97     </unpack-file>
98   </plugin>
99   <plugin name="ApacheTika">
100     <event value="FILE_PACK_UNPACK" />
101     <description value="General content extractor with Apache Tika. &#xD;&#xA;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" />
107     <unpack-file>
108       <command>"${WINMERGE_HOME}\Commands\apache-tika\tika.bat" "${SRC_FILE}" "${DST_FILE}" ${*}</command>
109     </unpack-file>
110   </plugin>
111   <!--
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" />
118     <unpack-file>
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)
123       </script>
124     </unpack-file>
125   </plugin>
126   -->
127 </plugins>