I want to extend Fabric with some functionality and would like to call Fabric programmatically.

What I figured out is to call the `main()` method in <https://github.com/fabric/fabric/blob/master/fabric/main.py>, but I can't pass any parameters directly to the function, because it reads it's parameters within the function.

Any idea to set the command line parameters programmatically and the calling `main()`?