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