Method: Ufo::CLI::Exec#execute_command
- Defined in:
- lib/ufo/cli/exec.rb
#execute_command(options = {}) ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/ufo/cli/exec.rb', line 39 def execute_command(={}) args = .inject('') do |args, (k,v)| arg = k == :interactive ? "--#{k}" : "--#{k} #{v}" args += " #{arg}" end sh "aws ecs execute-command#{args}" end |