Question

I have been using fabric and recently got told about invoke, so I took a look at it's documentation:

Like Ruby’s Rake tool and Invoke’s own predecessor Fabric 1.x, it provides a clean, high level API for running shell commands and defining/organizing task functions from a tasks.py file.

Unless I am missing something and noob at invoke, but I find fabric is way more powerful than invoke, which makes me think invoke isn't a replacement for fabric. I am a bit confused.

I did a google search 'fabric vs invoke' and got nothing, so asking here instead.

Was it helpful?

Solution

Notice that both projects are maintained and managed by the same person. Bitprophet is working on a Fabric 2.x line that will utilize Invoke to clear out a lot of the cruft around running shell commands that exists right now in Fabric 1.x. So it's not really meant to replace fabric, but to be something from which later versions will build off.

OTHER TIPS

Some helpful details are here: http://www.fabfile.org/roadmap.html#invoke-fabric-2-x-and-patchwork

As Fabric 2 is developed, Invoke will approach a 1.0 release, and will continue to grow & change to suit Fabric’s needs while remaining a high quality standalone task runner.

I have used fabric3 for a long while as it was the same as fabric1. I think the time has come to use invoke, I tried a few years ago and it wasn't yet ready.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top