Sha256: 289e5f02d5df57bff04d2edb65e25bb01084f253c869ab857d504b49a085572d

Contents?: true

Size: 826 Bytes

Versions: 9

Compression:

Stored size: 826 Bytes

Contents

# frozen_string_literal: true

module Takeltau
  # tau mutagen
  class Mutagen < SubCommandBase
    include LoggingModule
    include SystemModule
    include ConfigModule
    include DockerCheckDaemon
    include DockerContainerLib
    include MutagenCheckDaemon

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

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

      log.debug 'Check mutagen dameon for mutagen subcommand'
      exit false unless mutagen_check_daemon
    end

    desc 'check [COMMAND]', 'Check mutagen'
    subcommand 'check', MutagenCheck

    desc 'socket [COMMAND]', 'Manage mutagen socket'
    subcommand 'socket', MutagenSocket
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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