lib/dru.rb in dru-0.6.0 vs lib/dru.rb in dru-1.0.0
- old
+ new
@@ -2,13 +2,14 @@
require "dru/config"
require "dru/cli"
module Dru
DRUCONFIG = File.expand_path('~/.druconfig')
+ DOCKER_COMMAND = 'docker'.freeze
DOCKER_COMPOSE_COMMAND = 'docker-compose'.freeze
- DOCKER_COMPOSE_COMMANDS = %w[build bundle config create events images kill
- logs pause port ps pull push restart rm scale
- start stop top unpause]
+ DOCKER_COMPOSE_COMMANDS = %w[build bundle config create down events exec images kill
+ logs pause port ps pull push restart rm run scale
+ start stop top unpause up]
def self.config
Config.instance.tap { |instance| instance.config_file_path = DRUCONFIG }
end
end