Reputation: 25213
I would like to redirect the output of the Fabric command
print local("git add .")
so that I make sure that everything is working properly. Is there a way to pipe the results of this command to the console? Thanks!
Upvotes: 0
Views: 662
Reputation: 40414
You should already see the output of the command in the console since that's the default behaviour. If you need to customize it, please have a look at the managing output documentation section.
Besides this, there's an ongoing effort to use the logging
module (issue #57) that should provide more options like logging to a file, but that hasn't been merged into the trunk branch yet.
Upvotes: 3