envflag Applies environment variables to the standard Go flag package usage: import "github.com/peak6/envflag" func main() { envflag.Parse() }