Hi Oivvio, Christian, list, On Wed, Oct 5, 2011 at 6:47 AM, Christian Vest Hansen <[email protected]> wrote:
> Otherwise a `let` command (a generalized form of Simons suggestion) is > fairly easy to write: > > @Task > def let(**args): > > env.update(args) This will work, though it needs to be @task, not @Task :) (And use of @task is optional here -- "classic" tasks not using the decorator will work just fine too.) Additionally, there are plans to add this as some command flag eventually -- see https://github.com/fabric/fabric/issues/13 . Best, Jeff -- Jeff Forcier Unix sysadmin; Python/Ruby engineer http://bitprophet.org _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
