class Milc::Gcloud::Backend::GcloudCommand
Public Instance Methods
execute(cmd, options = {}) { |res| ... }
click to toggle source
# File lib/milc/gcloud/backend/gcloud_command.rb, line 12 def execute(cmd, options = {}) options[:dry_run] = Milc.dry_run res = LoggerPipe.run(Milc.logger, cmd, options) block_given? ? yield(res) : res end