Class: Datadog::CI::CLI::Command::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/ci/cli/command/base.rb

Instance Method Summary collapse

Instance Method Details

#execObject



8
9
10
11
12
13
14
# File 'lib/datadog/ci/cli/command/base.rb', line 8

def exec
  action = build_action
  result = action&.call

  validate!(action)
  output(result)
end