fabric/fabric — Issue #496: Fetching environment vars
Author: yuvadm
Created: 2011-12-12 08:33:11+00:00
State: open

What would be the proper way to fetch environment vars in a remote environment with Fabric?

Granted, `run('echo $VAR_NAME')` is the easy way, but is shell-specific and looks weird.

Should Fabric have some sort of `envvar('VAR_NAME')` command?

I'm willing to take on the creation of such a patch if it seems worthy.