Skip to content

Instantly share code, notes, and snippets.

@adorsk
Created November 12, 2012 15:40
Show Gist options
  • Save adorsk/4060043 to your computer and use it in GitHub Desktop.
Save adorsk/4060043 to your computer and use it in GitHub Desktop.
Standalone Fabfile
if __name__ == '__main__':
from fabric.main import main
import sys
sys.argv = ['fab', '-f', __file__] + sys.argv[1:]
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment