lib/dru/commands/docker_compose.rb in dru-0.6.0 vs lib/dru/commands/docker_compose.rb in dru-1.0.0
- old
+ new
@@ -3,18 +3,16 @@
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)
+ run_docker_compose_command(*@command, tty: true)
end
end
end
end