github.com/daniellockard/packer@v0.7.6-0.20141210173435-5a9390934716/command/meta.go (about) 1 package command 2 3 import ( 4 "github.com/mitchellh/cli" 5 "github.com/mitchellh/packer/packer" 6 ) 7 8 type Meta struct { 9 EnvConfig *packer.EnvironmentConfig 10 Ui cli.Ui 11 } 12 13 func (m *Meta) Environment() (packer.Environment, error) { 14 return packer.NewEnvironment(m.EnvConfig) 15 }