github.com/homburg/packer@v0.6.1-0.20140528012651-1dcaf1716848/plugin/command-build/main.go (about) 1 package main 2 3 import ( 4 "github.com/mitchellh/packer/command/build" 5 "github.com/mitchellh/packer/packer/plugin" 6 ) 7 8 func main() { 9 server, err := plugin.Server() 10 if err != nil { 11 panic(err) 12 } 13 server.RegisterCommand(new(build.Command)) 14 server.Serve() 15 }