Using invoke , how can I change the directory where the call is running run
?
In Fabric one could
from fabric.context_managers import lcd
with lcd('foo'):
local('do')
to run do
in a directory foo
, but I cannot find a similar import in pyinvoke.
leech
source
to share