Class: Takeltau::Docker

Inherits:
SubCommandBase show all
Includes:
ConfigModule, DockerCheckDaemon, LoggingModule, SystemModule
Defined in:
lib/takeltau/docker/cli.rb

Overview

tau docker

Instance Method Summary collapse

Methods included from DockerCheckDaemon

#docker_check_daemon

Methods included from ConfigModule

#config, #configured?, #initialize_config

Methods included from SystemModule

#command_available_else_error?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try, #write_file

Methods included from LoggingModule

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

Constructor Details

#initialize(args = [], local_options = {}, configuration = {}) ⇒ Docker



12
13
14
15
16
17
18
# File 'lib/takeltau/docker/cli.rb', line 12

def initialize(args = [], local_options = {}, configuration = {})
  # initialize thor parent class
  super

  log.debug 'Check docker dameon for docker subcommand'
  exit false unless docker_check_daemon
end