Skip to content

Instantly share code, notes, and snippets.

@solebox
Created January 23, 2015 20:29
Show Gist options
  • Save solebox/b0876ed2964b66cd7aed to your computer and use it in GitHub Desktop.
Save solebox/b0876ed2964b66cd7aed to your computer and use it in GitHub Desktop.
[sole@solebox][~]% cat fabfile.py
#python code starts here
from fabric.api import run
def pwd():
run('pwd')
#this code must be ran from the commandline using the following command:
# fab pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment