def inspect_template(template)
      args = ['inspect', '-machine-readable', template]

      Packer::Output::Inspect.new(command(args))
    end
def inspect_template(template)
      args = ['inspect', '-machine-readable', template]

      Packer::Output::Inspect.new(command(args))
    end
Excutes +packer inspect+

 Inspects a template, parsing and outputting the components a template
 defines. This does not validate the contents of a template (other than
 basic syntax by necessity).

 @param [String,Packer::Template] template the Packer template
 @return [Packer::Output::Inspect]