Class: Falqon::CLI::Delete
- Inherits:
-
Base
- Object
- Base
- Falqon::CLI::Delete
- Defined in:
- lib/falqon/cli/delete.rb
Overview
Delete messages from a queue
Deleting a message removes it including its data from the queue.
Usage:
falqon delete -q, --queue=QUEUE
Options:
-q, --queue=QUEUE # Queue name
[--pending], [--no-pending], [--skip-pending] # Delete only pending messages (default)
[--processing], [--no-processing], [--skip-processing] # Delete only processing messages
[--dead], [--no-dead], [--skip-dead] # Delete only dead messages
[--head=N] # Delete N messages from head of queue
[--tail=N] # Delete N messages from tail of queue
[--index=N] # Delete message at index N
[--range=N M] # Delete messages at index N to M
[--id=N] # Delete message with ID N