Created
January 23, 2015 20:29
-
-
Save solebox/b0876ed2964b66cd7aed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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