Sha256: ee8a0e901b8d23c0c1b65315acf906f52ba805d6f56067b728feee2ad6534b07

Contents?: true

Size: 701 Bytes

Versions: 7

Compression:

Stored size: 701 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'
require 'eac_ruby_utils/console/docopt_runner'
require 'eac_ruby_utils/simple_cache'
require 'avm/eac_rails_base0/instance'
::EacRubyUtils.require_sub(__FILE__)

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

        runner_definition do
          desc 'Utilities for EacRailsBase0 instances.'
          pos_arg :instance_id
          subcommands
        end

        private

        def instance_uncached
          ::Avm::EacRailsBase0::Instance.by_id(options['<instance_id>'])
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avm-tools-0.74.0 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.73.0 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.72.0 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.71.0 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.70.2 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.70.1 lib/avm/tools/runner/eac_rails_base0.rb
avm-tools-0.70.0 lib/avm/tools/runner/eac_rails_base0.rb