Remove all finished tasks from the list and clear logs. More information: https://github.com/Nukesor/pueue.
pueue clean
pueue clean --successful-only