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.46.9 lib/takeltau/docker/cli.rb
takeltau-0.46.8 lib/takeltau/docker/cli.rb
takeltau-0.46.5 lib/takeltau/docker/cli.rb
takeltau-0.46.1 lib/takeltau/docker/cli.rb
takeltau-0.46.0 lib/takeltau/docker/cli.rb
takeltau-0.45.27 lib/takeltau/docker/cli.rb
takeltau-0.45.26 lib/takeltau/docker/cli.rb
takeltau-0.45.24 lib/takeltau/docker/cli.rb
takeltau-0.45.23 lib/takeltau/docker/cli.rb
takeltau-0.45.22 lib/takeltau/docker/cli.rb
takeltau-0.45.21 lib/takeltau/docker/cli.rb
takeltau-0.45.19 lib/takeltau/docker/cli.rb
takeltau-0.45.17 lib/takeltau/docker/cli.rb
takeltau-0.45.16 lib/takeltau/docker/cli.rb
takeltau-0.45.14 lib/takeltau/docker/cli.rb
takeltau-0.45.13 lib/takeltau/docker/cli.rb
takeltau-0.45.12 lib/takeltau/docker/cli.rb
takeltau-0.45.11 lib/takeltau/docker/cli.rb
takeltau-0.45.10 lib/takeltau/docker/cli.rb
takeltau-0.45.9 lib/takeltau/docker/cli.rb