Method: PackRb::SubCommands#execute
- Defined in:
- lib/pack_rb/sub_commands.rb
#execute(opts) ⇒ Array
Execute a Packer command via Executor.run_cmd_stream_output
24 25 26 27 28 29 |
# File 'lib/pack_rb/sub_commands.rb', line 24 def execute(opts) cmd = opts[:cmd] tpl = opts[:tpl] PackRb::Executor.run_cmd_stream_output("#{cmd} -", tpl) end |