On Wed, Oct 05, 2011 at 11:00:16PM +1100, Simon KP wrote: > You could set env variables from passing an argument to fabric function from > command line, > > $ fab sometask:foo,baz,keyword=kwbar > > sometask(first, second, keyword='') > env.first = first > env.second = second > env.keywork = keyword
And if I have a whole bunch of tasks that depend on the same env variables being present do I then need to duplicate this for every task definition? oivvio -- http://liberationtech.net _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
