An aptly task is a sequence of multiple aptly commands run within a single aptly thread.
For example, a task could be to create a new repository, add packages to it, create a snapshot and serve it.
Four commands can be now run in a single command.