Tasks

class fabric.tasks.Task(alias=None, aliases=None, default=False, *args, **kwargs)

Abstract base class for objects wishing to be picked up as Fabric tasks.

Instances of subclasses will be treated as valid tasks when present in fabfiles loaded by the fab tool.

For details on how to implement and use Task subclasses, please see the usage documentation on new-style tasks.

New in version 1.1.

Previous topic

Operations

Next topic

Utils

This Page