Altough Fabric documentations refers to a way of using the library for SSH access without requiring the fab command-line tool and/or tasks, I can't seem to manage a way to do it.
I want to run this file (example.py) by only executing 'python example.py':
env.hosts = [ "example.com" ]
def ps():
run("ps")
ps()
Thanks.