Sha256: 6842c065883d49dc01f73feec28feabf4999d3538b4ea065fff5f988a4f105f0

Contents?: true

Size: 738 Bytes

Versions: 39

Compression:

Stored size: 738 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

      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

39 entries across 39 versions & 1 rubygems

Version Path
takeltau-0.45.8 lib/takeltau/docker/cli.rb
takeltau-0.45.6 lib/takeltau/docker/cli.rb
takeltau-0.45.5 lib/takeltau/docker/cli.rb
takeltau-0.45.4 lib/takeltau/docker/cli.rb
takeltau-0.45.3 lib/takeltau/docker/cli.rb
takeltau-0.45.2 lib/takeltau/docker/cli.rb
takeltau-0.45.0 lib/takeltau/docker/cli.rb
takeltau-0.44.42 lib/takeltau/docker/cli.rb
takeltau-0.44.41 lib/takeltau/docker/cli.rb
takeltau-0.44.39 lib/takeltau/docker/cli.rb
takeltau-0.44.37 lib/takeltau/docker/cli.rb
takeltau-0.44.36 lib/takeltau/docker/cli.rb
takeltau-0.44.35 lib/takeltau/docker/cli.rb
takeltau-0.44.29 lib/takeltau/docker/cli.rb
takeltau-0.44.27 lib/takeltau/docker/cli.rb
takeltau-0.44.24 lib/takeltau/docker/cli.rb
takeltau-0.44.23 lib/takeltau/docker/cli.rb
takeltau-0.44.19 lib/takeltau/docker/cli.rb
takeltau-0.44.18 lib/takeltau/docker/cli.rb