Metadata-Version: 2.1
Name: awscli-sqsall
Version: 1.0.2
Summary: awscli plugin to treat SQS queues more like files
Home-page: https://github.com/pkoch/awscli-sqsall
Author: Paulo Köch
Author-email: paulo.koch@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/pkoch/awscli-sqsall/issues
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

awscli-sqsall
=============

awscli plugin to treat SQS queues more like files, with `receive-all-messages` and
`send-all-messages`.

Quickstart
----------

`receive-all-messages` dumps all messages to a files. `send-all-messages` sends
all file lines as messages to a queue. FIFO queues are supported.

You should be able to do something like:

```bash
aws sqs receive-all-messages --queue my-dlq \
| sed '/some fault/d' \
| aws sqs send-all-messages --queue my-queue
```

Since receive-all-messages doesn't communicate with send-all-messages, and just
deletes the message after printing, you might want to keep a backup. Try this
instead:

```bash
aws sqs receive-all-messages --queue my-dlq \
| tee safe_place \
| sed '/some fault/d' \
| aws sqs send-all-messages --queue my-queue
```

Check the commands' help for more details.

Installing
----------

```bash
pip install awscli-sqsall
aws configure set plugins.sqsall sqsall
```

Releasing
---------

It happes on tag. Check the GitHub Actions.


