1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:26:05 +02:00

pueue: add page (#5230)

This commit is contained in:
bl-ue 2021-02-18 18:34:02 -05:00 committed by GitHub
parent 5f98c903af
commit 258c02f991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

36
pages/common/pueue.md Normal file
View file

@ -0,0 +1,36 @@
# pueue
> Pueue is a command-line task management tool for sequential and parallel execution of long-running tasks.
> More information: <https://github.com/Nukesor/pueue>.
- Add a command to the task list:
`pueue add -- "{{command}}"`
- List tasks in the task list:
`pueue status`
- Send data to a task's stdin:
`pueue send {{task_id}} {{"hello"}}`
- View a task's stdout and stderr, as well as basic information about that task:
`pueue log {{task_id}}`
- Create a task group:
`pueue group --add {{group_name}}`
- Kill a task:
`pueue kill {{task_id}}`
- Set maximum amount of parallel tasks (queued tasks are started as needed to meet this limit):
`pueue parallel {{number_of_parallel_tasks}}`
- Edit the command line of a stopped task in the default editor (as specified by `$EDITOR`):
`pueue edit {{task_id}}`