Module: PackRb::SubCommands::Inspect

Included in:
PackRb::SubCommands
Defined in:
lib/pack_rb/sub_commands/inspect.rb

Instance Method Summary collapse

Instance Method Details

#inspect_tpl(opts) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/pack_rb/sub_commands/inspect.rb', line 4

def inspect_tpl(opts)
  base_cmd = opts[:base_cmd]
  tpl      = opts[:tpl]

  cmd_arr = [base_cmd, 'inspect']

  execute(cmd: cmd_arr.join(' '), tpl: tpl)
end