Skip to content

Instantly share code, notes, and snippets.

@JCallicoat
Created October 9, 2012 00:44
Show Gist options
  • Save JCallicoat/3855876 to your computer and use it in GitHub Desktop.
Save JCallicoat/3855876 to your computer and use it in GitHub Desktop.
fabric + sh??? winning!
from sh import ls
from fabric.api import run, env
env.hosts = ['localhost', 'rightfootin.info']
def test():
print(ls('/')) # runs on every item in env.hosts
@JCallicoat
Copy link
Author

nerp. I'm retarded. that totally doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment