Class: ShopifyCLI::Core::Executor

Inherits:
CLI::Kit::Executor
  • Object
show all
Defined in:
lib/shopify_cli/core/executor.rb

Instance Method Summary collapse

Instance Method Details

#call(command, command_name, args) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/shopify_cli/core/executor.rb', line 12

def call(command, command_name, args)
  command.task_registry = @task_registry
  command.ctx = @ctx
  with_traps do
    with_logging do |_id|
      command.call(args, command_name)
    end
  end
end