[PR #918] [MERGED] Add task enqueue command to cli #2935

Closed
opened 2026-03-15 21:11:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/918
Author: @mboorstin
Created: 9/27/2024
Status: Merged
Merged: 10/26/2024
Merged by: @kamikazechaser

Base: masterHead: boorstin-cli-enqueue


📝 Commits (1)

  • 9710da9 Add task enqueue command to cli

📊 Changes

2 files changed (+158 additions, -0 deletions)

View changed files

📝 tools/asynq/cmd/root.go (+40 -0)
📝 tools/asynq/cmd/task.go (+118 -0)

📄 Description

Add a task enqueue command to the CLI to allow manually enqueuing a task with specified payload and various options. This is useful when manually interacting with asynq or attempting to trigger specific actions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/918 **Author:** [@mboorstin](https://github.com/mboorstin) **Created:** 9/27/2024 **Status:** ✅ Merged **Merged:** 10/26/2024 **Merged by:** [@kamikazechaser](https://github.com/kamikazechaser) **Base:** `master` ← **Head:** `boorstin-cli-enqueue` --- ### 📝 Commits (1) - [`9710da9`](https://github.com/hibiken/asynq/commit/9710da9d02e4532923c061c819170ce377b880f7) Add task enqueue command to cli ### 📊 Changes **2 files changed** (+158 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tools/asynq/cmd/root.go` (+40 -0) 📝 `tools/asynq/cmd/task.go` (+118 -0) </details> ### 📄 Description Add a `task enqueue` command to the CLI to allow manually enqueuing a task with specified payload and various options. This is useful when manually interacting with asynq or attempting to trigger specific actions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 21:11:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2935
No description provided.