Skip to main content

Azure Service Bus CLI

Project description

sbcli-furlan

Azure Service Bus CLI - v0.0.4

Python application Upload Python Package codecov CodeQL

Table of Contents

Install

pip install sbcli-furlan

Help

$ sbcli --help
usage: sbcli [-h] [--version] [--connection CONNECTION] [--no-logging]
             [--debug]
             {list,queue,download,upload} ...

Azure Service Bus CLI

positional arguments:
  {list,queue,download,upload}
    list                List entities
    queue               Queue management
    download            Download message
    upload              Upload message

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --connection CONNECTION
                        Service bus connection string (env
                        SB_CONNECTION_STRING)
  --no-logging
  --debug               Set debug level to log

You are using a version ahead (v0.0.4) of pypi (v0.0.3). Log file:
/home/guionardo/.log/sbcli.log

LIST

$ sbcli list --help
usage: sbcli list [-h] (--queue QUEUE | --topic TOPIC)
                  [--type {text,csv,table}]

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}

QUEUE

$ sbcli queue --help
usage: sbcli queue [-h]
                   (--list {text,csv,table} | --create CREATE | --clear-dead-leter CLEAR_DEAD_LETER)
                   [--filter FILTER]

optional arguments:
  -h, --help            show this help message and exit
  --list {text,csv,table}
  --create CREATE       Create queue
  --clear-dead-leter CLEAR_DEAD_LETER
                        Empty dead letter queue
  --filter FILTER       Filter for select queue name. You can use * and ?

DOWNLOAD

$ sbcli download --help
usage: sbcli download [-h] [--output OUTPUT] [--file-prefix FILE_PREFIX]
                      [--dead-letter] [--timeout TIMEOUT]
                      (--queue QUEUE | --topic TOPIC)
                      [--max-count MAX_COUNT | --all]

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
  --queue QUEUE         Queue name
  --topic TOPIC         Topic name
  --max-count MAX_COUNT
                        Maximum message count
  --all                 Download all messages

UPLOAD

$ sbcli upload --help
usage: sbcli upload [-h] --source SOURCE [--max-count MAX_COUNT]
                    (--queue QUEUE | --topic TOPIC)

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

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.4.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

sbcli_furlan-0.0.4-py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page