Rabbitmq-tools » История » Версия 2
Константин Пильник, 2022-09-22 14:27
1 | 1 | Константин Пильник | h1. Rabbitmq-tools |
---|---|---|---|
2 | |||
3 | 2 | Константин Пильник | *потребуется модуль pika* |
4 | |||
5 | 1 | Константин Пильник | <pre><code class="shell"> |
6 | $ ./checkconn.py --help |
||
7 | usage: checkconn.py [-h] [--host HOST] [--port PORT] [--ssl] [--user USER] [--password PASSWORD] |
||
8 | |||
9 | optional arguments: |
||
10 | -h, --help show this help message and exit |
||
11 | --host HOST server host |
||
12 | --port PORT server port |
||
13 | --ssl use ssl |
||
14 | --user USER username |
||
15 | --password PASSWORD password |
||
16 | |||
17 | $ ./rmq2file.py --help |
||
18 | usage: rmq2file.py [-h] [--host HOST] [--port PORT] [--ssl] [--user USER] [--password PASSWORD] [--name NAME] --file FILE |
||
19 | [--keep] |
||
20 | |||
21 | optional arguments: |
||
22 | -h, --help show this help message and exit |
||
23 | --host HOST server host |
||
24 | --port PORT server port |
||
25 | --ssl use ssl |
||
26 | --user USER username |
||
27 | --password PASSWORD password |
||
28 | --name NAME queue name |
||
29 | --file FILE import filename |
||
30 | --keep keep msg in queue, copy only |
||
31 | |||
32 | $ ./file2rmq.py --help |
||
33 | usage: file2rmq.py [-h] [--host HOST] [--port PORT] [--ssl] [--user USER] [--password PASSWORD] [--name NAME] --file FILE |
||
34 | |||
35 | optional arguments: |
||
36 | -h, --help show this help message and exit |
||
37 | --host HOST server host |
||
38 | --port PORT server port |
||
39 | --ssl use ssl |
||
40 | --user USER username |
||
41 | --password PASSWORD password |
||
42 | --name NAME queue name |
||
43 | --file FILE import filename |
||
44 | </code></pre> |