Last Updated: February 25, 2016
· ellisonleao

Passing parameters in Fabric Tasks

Fabric is a nice project that allows you full automation process and deployment tasks.

If you have a task in fabric that needs parameters this is the way you should pass it on shell.

let's imagine you have the following task:

def task(parameter):

now, you can do as follow:

~# fab task:parameter **
**~# fab task:'parameter'

And that's it!