On Sat, Sep 18, 2010 at 10:18 AM, Philipp Keller <philipp.kel...@gmail.com> wrote:
> From looking at the code it looks as if fabric isn't designed as "ssh > abstraction" - but should be primarily used from the command line. > e.g. run() is closely coupled to the rest of fabrics infrastructure (such as > env, or writing to stdout, or asking for password). Yes and no. Fabric *is* designed to be a higher level SSH abstraction -- it's simply that until recently the main use-case we've oriented around is the more common command line one, so the documentation and some of the API is a bit weak when used as a library. For example, one thing I'd like to add is something like execute(task_obj, host_list) which would make having to monkey with env.host_string less necessary. This sort of thing is in the works for the post-1.0 releases. -Jeff -- Jeff Forcier Unix sysadmin; Python/Ruby developer http://bitprophet.org _______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user