New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local commands unsupported in fabric >=2? #1919
Comments
i'm wrestling with this too, and this is what i got
|
@jondkelley try |
tldr; use
Try this fabfile: @task
def test(c):
print(c)
c.run("echo HELLO") Running Running |
fabric |
This issue is also something which stumped me when upgrading to Fabric 2. It is very confusing to have an object behaving differently depending on how fabric is called. In one project I bypassed this issue by just defining an invoke |
You can ensure
But I also wonder why the author chose this behaviour (changing the type of |
Have any of you tried to wrap Fabric into your own library (just as it's explained here for invoke) |
@KantiCodes how is this related to this issue? |
I constantly get confused with this, so I decided to leave a simple example without functions and tasks.
|
Do you have a local example?
Is local support totally unsupported since version 1 fabric? There's no good docs by example, and the methods / support is non-existent now.
python
This was following example here #1747
The text was updated successfully, but these errors were encountered: