Method: Aws::Templates::Cli::Interface#render
- Defined in:
- lib/aws/templates/cli/interface.rb
#render(artifact_path) ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/aws/templates/cli/interface.rb', line 40 def render(artifact_path) say _format( Templates::Utils.lookup_module(artifact_path), Templates::Utils.lookup_module([:render]), Aws::Templates::Cli::Formatter.format_as([:format]), ::JSON.parse([:options] || _as_string(STDIN), symbolize_names: true) ) end |