-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadt.xml
80 lines (80 loc) · 2.66 KB
/
adt.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<command>
<description>Advanced Dump Tool - ADT.
This script handles import/export of databases and allows to search and replace serialized strings in an .sql file.
Configure important parameters in config.ini</description>
<version>1.0</version>
<option name="verbose">
<short_name>-v</short_name>
<long_name>--verbose</long_name>
<description>turn on verbose output</description>
<action>StoreTrue</action>
</option>
<option name="debug">
<description>turn on debug information</description>
<long_name>--debug</long_name>
<action>StoreTrue</action>
</option>
<command>
<name>dump</name>
<description>Create a gzipped database dump</description>
<option name="output">
<description>specify output file</description>
<long_name>--output</long_name>
<short_name>-o</short_name>
<action>StoreString</action>
</option>
</command>
<command>
<name>import</name>
<description>Import SQL into a database</description>
<argument name="file">
<description>The File to import. Must be plain or gzipped sql.</description>
</argument>
</command>
<command>
<name>localize</name>
<description>Replace every occurence of the remote host with the local host.</description>
<option name="output">
<description>specify output file</description>
<long_name>--output</long_name>
<short_name>-o</short_name>
<action>StoreString</action>
</option>
<argument name="file">
<description>The File to localize. Must be plain sql.</description>
</argument>
</command>
<command>
<name>remotize</name>
<description>Replace every occurence of the local host with the remote host.</description>
<option name="output">
<description>specify output file</description>
<long_name>--output</long_name>
<short_name>-o</short_name>
<action>StoreString</action>
</option>
<argument name="file">
<description>The File to remotize. Must be plain sql.</description>
</argument>
</command>
<command>
<name>replace</name>
<description>Replace every occurence of a pattern with a replacement.</description>
<option name="output">
<description>specify output file</description>
<long_name>--output</long_name>
<short_name>-o</short_name>
<action>StoreString</action>
</option>
<option name="serialize">
<description>Whether the pattern is contained in a serialized string that should be properly modified</description>
<long_name>--serialized</long_name>
<short_name>-s</short_name>
<action>StoreTrue</action>
</option>
<argument name="file">
<description>The File to operate with. Must be plain sql.</description>
</argument>
</command>
</command>