2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-22 09:56:12 +08:00

Add enqall command to asynqmon CLI

This commit is contained in:
Ken Hibino
2019-12-10 21:38:25 -08:00
parent 0d74c518bf
commit a96719413c
8 changed files with 131 additions and 24 deletions

View File

@@ -11,9 +11,9 @@ import (
// enqCmd represents the enq command
var enqCmd = &cobra.Command{
Use: "enq",
Use: "enq [task id]",
Short: "Enqueues a task given an identifier",
Long: `The enq command enqueues a task given an identifier.
Long: `Enq (asynqmon enq) will enqueue a task given an identifier.
The command takes one argument which specifies the task to enqueue.
The task should be in either scheduled, retry or dead queue.