Module: Abak::Flow::RunnerExtension

Defined in:
lib/abak-flow/hub_extensions.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/abak-flow/hub_extensions.rb', line 3

def execute
  if args.noop?
    puts commands
  elsif not args.skip?
    if args.chained?
      execute_command_chain
    else
      %x{#{args.to_exec.join(' ')}}
    end
  end
end