Sha256: 0affa250601c4c897ea982701f8fcb400780d0f35b241eb045f64c7d54f5820c

Contents?: true

Size: 773 Bytes

Versions: 9

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true

module Takeltau
  # tau docker
  class Docker < SubCommandBase
    # Initialize docker
    include LoggingModule
    include SystemModule
    include ConfigModule
    include DockerCheckDaemon

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

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

    desc 'check [COMMAND]', 'Check docker'
    subcommand 'check', DockerCheck

    desc 'container [COMMAND]', 'Handle docker container'
    subcommand 'container', DockerContainer

    desc 'image [COMMAND]', 'Handle docker images'
    subcommand 'image', DockerImage
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
takeltau-0.44.15 lib/takeltau/docker/cli.rb
takeltau-0.44.14 lib/takeltau/docker/cli.rb
takeltau-0.44.12 lib/takeltau/docker/cli.rb
takeltau-0.44.11 lib/takeltau/docker/cli.rb
takeltau-0.44.8 lib/takeltau/docker/cli.rb
takeltau-0.44.2 lib/takeltau/docker/cli.rb
takeltau-0.43.23 lib/takeltau/docker/cli.rb
takeltau-0.43.21 lib/takeltau/docker/cli.rb
takeltau-0.43.19 lib/takeltau/docker/cli.rb