2013-08-13 09:36:40 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/command/inspect"
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-10 13:59:38 -08:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterCommand(new(inspect.Command))
|
|
|
|
server.Serve()
|
2013-08-13 09:36:40 -07:00
|
|
|
}
|