mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-25 10:59:43 -05:00
15 lines
276 B
Go
15 lines
276 B
Go
package command
|
|
|
|
import (
|
|
"github.com/mitchellh/cli"
|
|
"github.com/mitchellh/packer/packer"
|
|
)
|
|
|
|
type Meta struct {
|
|
EnvConfig *packer.EnvironmentConfig
|
|
Ui cli.Ui
|
|
}
|
|
|
|
func (m *Meta) Environment() (packer.Environment, error) {
|
|
return packer.NewEnvironment(m.EnvConfig)
|
|
}
|