Проект

Общее

Профиль

Rabbitmq-tools » История » Версия 1

Константин Пильник, 2022-09-22 14:25

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