Sha256: ef262d6d0e844687b3da58932b2ee0404aa389441735921d1ee589ee3d020cd8

Contents?: true

Size: 626 Bytes

Versions: 20

Compression:

Stored size: 626 Bytes

Contents

# frozen_string_literal: true

require 'avm/instances/base'
require 'eac_cli/core_ext'
require 'eac_ruby_utils/console/docopt_runner'

module Avm
  module Tools
    class Runner < ::EacRubyUtils::Console::DocoptRunner
      class Instance < ::EacRubyUtils::Console::DocoptRunner
        require_sub __FILE__
        runner_with

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

        private

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

Version data entries

20 entries across 20 versions & 1 rubygems

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