Azure Service Bus CLI
Project description
sbcli-furlan
Azure Service Bus CLI - v0.0.7
Table of Contents
Install
pip install sbcli-furlan
Help
$ sbcli --help
usage: sbcli [-h] [--version] [--no-logging] [--debug]
{list,queue,topic,download,upload,profile} ...
Azure Service Bus CLI
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--no-logging
--debug Set debug level to log
actions:
{list,queue,topic,download,upload,profile}
list List entities
queue Queue management
download Download message
upload Upload message
profile Connection profiles
You are using a version ahead (v0.0.7) of pypi (v0.0.6). Log file:
/home/guionardo/.log/sbcli.log
LIST
$ sbcli list --help
usage: sbcli list [-h] (--queue QUEUE | --topic TOPIC)
[--type {text,csv,table}]
(--connection CONNECTION | --profile PROFILE)
optional arguments:
-h, --help show this help message and exit
--queue QUEUE Queue name (allow mask * and ?)
--topic TOPIC Topic name (allow mask * and ?)
--type {text,csv,table}
--connection CONNECTION
Service bus connection string (env
SB_CONNECTION_STRING)
--profile PROFILE Connection profile
QUEUE
$ sbcli queue --help
usage: sbcli queue [-h]
(--create queue_name | --clear-dead-letter queue_name | --delete queue_name)
(--connection CONNECTION | --profile PROFILE)
optional arguments:
-h, --help show this help message and exit
--create queue_name Create queue
--clear-dead-letter queue_name
Empty dead letter queue
--delete queue_name Delete queue
--connection CONNECTION
Service bus connection string (env
SB_CONNECTION_STRING)
--profile PROFILE Connection profile
TOPIC
$ sbcli topic --help
usage: sbcli topic [-h] [--create]
optional arguments:
-h, --help show this help message and exit
--create
DOWNLOAD
$ sbcli download --help
usage: sbcli download [-h] [--output OUTPUT] [--file-prefix FILE_PREFIX]
[--dead-letter] [--timeout TIMEOUT] [--peek]
(--queue QUEUE | --topic TOPIC) [--max-count MAX_COUNT]
[--no-props]
(--connection CONNECTION | --profile PROFILE)
optional arguments:
-h, --help show this help message and exit
--output OUTPUT, -o OUTPUT
Output folder (default = queue/topic name)
--file-prefix FILE_PREFIX
Fileprefix
--dead-letter Dead letter queue
--timeout TIMEOUT Timeout in seconds
--peek Peek (does not complete message in queue)
--queue QUEUE Queue name
--topic TOPIC Topic name
--max-count MAX_COUNT
Maximum message count
--no-props Ignore creation of property file for each message
--connection CONNECTION
Service bus connection string (env
SB_CONNECTION_STRING)
--profile PROFILE Connection profile
UPLOAD
$ sbcli upload --help
usage: sbcli upload [-h] --source SOURCE [--max-count MAX_COUNT]
(--queue QUEUE | --topic TOPIC)
[--no-move-sent | --move-sent FOLDER]
(--connection CONNECTION | --profile PROFILE)
optional arguments:
-h, --help show this help message and exit
--source SOURCE Source files (you can use mask)
--max-count MAX_COUNT
Maximum message count
--queue QUEUE Queue name
--topic TOPIC Topic name
--no-move-sent No move sent files to ./sent folder
--move-sent FOLDER Move to folder after sucessfull sending
--connection CONNECTION
Service bus connection string (env
SB_CONNECTION_STRING)
--profile PROFILE Connection profile
PROFILE
$ sbcli profile --help
usage: sbcli profile [-h]
(--set PROFILE | --delete PROFILE | --list | --default PROFILE)
[--connection CONNECTION] [--output {text,csv,table}]
optional arguments:
-h, --help show this help message and exit
--set PROFILE Set profile and connection string (add --connection
argument)
--delete PROFILE Delete profile
--list List profiles
--default PROFILE Set default profile
--connection CONNECTION
Connection string (used with --set)
--output {text,csv,table}
ToDo
./src/cli/tool_topic.py:14: # TODO: Implementar tool topic
./src/cli/tools/download.py:187: # TODO: Implementar download de tópicos
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sbcli-furlan-0.0.7.tar.gz
(20.3 kB
view details)
Built Distribution
File details
Details for the file sbcli-furlan-0.0.7.tar.gz
.
File metadata
- Download URL: sbcli-furlan-0.0.7.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d4a721518e072e257d8a96cfbd162f478eab762a0b9dde1020b7b2a7c6fd2d |
|
MD5 | 3f9824d7cfaba70642c4c51debb71d87 |
|
BLAKE2b-256 | d95b26fdf8f8a6806e4ae4e385c01716557ba9608b953f716da94478ca4d9651 |
File details
Details for the file sbcli_furlan-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: sbcli_furlan-0.0.7-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72bf5561ad7e3bd6018dcef611e1fd859455747c33bd8c725502b0d23735604 |
|
MD5 | 8c6af0ace27d9db8e8af805fde797d11 |
|
BLAKE2b-256 | 5771e9cf42a3e47902a4b938bb94d887157924cd1ad80ba7d6f1d18e3dacd7aa |