pueue-switch
Switch the position of two enqueued tasks
TLDR
Switch the priority of two tasks
SYNOPSIS
pueue switch [group_name]
PARAMETERS
group_name
The name of the group to switch to. If no name is provided, it switches to the 'default' group.
DESCRIPTION
The pueue-switch command allows you to change the active group that Pueue is managing. Pueue organizes tasks into groups, which can be processed independently. This command is crucial for managing different projects or workflows concurrently. By switching to a specific group, subsequent `pueue add` commands will add tasks to that group. This allows you to queue tasks for different purposes and switch between them without intermixing.
When no group name is provided, the command will switch back to the 'default' group, the initial group where Pueue starts. Using `pueue switch` helps to organize and manage your tasks more effectively, especially when working on multiple projects or different aspects of a single project. It provides a simple way to isolate and manage task queues, improving efficiency and reducing the risk of errors.
<B>USAGE EXAMPLES</B>
- Switch to a group named 'frontend': pueue switch frontend
- Switch back to the default group: pueue switch
<B>IMPORTANT CONSIDERATIONS</B>
Ensure that the target group already exists before switching to it using pueue group add group_name. Switching to a non-existent group will cause an error.
SEE ALSO
pueue(1), pueue-add(1), pueue-group(1)