Sha256: 8d6e8fad10a16b1c2df51c577f9b7d5fc6fb9a58b865c047c3f4c983c557e91a

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

require_relative '../command'

module Dru
  module Commands
    class DockerCompose < Dru::Command
      attr_reader :command

      def initialize(options:, command:)
        @options = options
        @command = command
      end

      def execute(input: $stdin, output: $stdout)
        run_docker_compose_command(*command, tty: true)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dru-0.6.0 lib/dru/commands/docker_compose.rb