mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-23 09:51:08 -05:00
15 lines
257 B
Go
15 lines
257 B
Go
package main
|
|
|
|
import (
|
|
"github.com/mitchellh/packer/command/build"
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
)
|
|
|
|
func main() {
|
|
server, err := plugin.Server()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
server.RegisterCommand(new(build.Command))
|
|
server.Serve()
|
|
}
|