6eceacf11f
This command prints out the components of a template, and most importantly respects the machine-readable flag so that you can programmatically inspect a template's contents without manually parsing the JSON.
11 lines
177 B
Go
11 lines
177 B
Go
package main
|
|
|
|
import (
|
|
"github.com/mitchellh/packer/command/inspect"
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
)
|
|
|
|
func main() {
|
|
plugin.ServeCommand(new(inspect.Command))
|
|
}
|