Sha256: 27e2fdb667fc865adb6509806619bc65c2b6acbf23d200b242c95719aa969a3f

Contents?: true

Size: 948 Bytes

Versions: 17

Compression:

Stored size: 948 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'
require 'avm/eac_webapp_base0/runner/apache_host'
require 'eac_ruby_utils/console/docopt_runner'
require 'avm/eac_rails_base0/apache_path'

module Avm
  module Tools
    class Runner < ::EacRubyUtils::Console::DocoptRunner
      class EacRailsBase0 < ::Avm::EacRailsBase1::Runner
        class ApachePath < ::EacRubyUtils::Console::DocoptRunner
          runner_with

          runner_definition do
            desc 'Configure Apache path configuration for instance.'
          end

          def run
            if result.error?
              fatal_error result.to_s
            else
              infov 'Result', result.label
            end
          end

          def apache_path_uncached
            ::Avm::EacRailsBase0::ApachePath.new(context(:instance))
          end

          def result_uncached
            apache_path.run
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
avm-tools-0.86.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.85.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.85.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.84.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.83.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.82.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.82.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.81.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.80.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.79.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.78.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.77.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.76.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.76.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.75.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.75.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.74.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb