Sha256: 3e059fef98c3647694819c394ad1b96b3b91fab5a968815c0b97cb2bc442e833

Contents?: true

Size: 896 Bytes

Versions: 46

Compression:

Stored size: 896 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/console/docopt_runner'
require 'eac_ruby_utils/simple_cache'
require 'avm/stereotypes/eac_redmine_base0/instance'
require 'eac_ruby_utils/require_sub'
::EacRubyUtils.require_sub(__FILE__)

module Avm
  module Tools
    class Runner < ::EacRubyUtils::Console::DocoptRunner
      class EacRedmineBase0 < ::EacRubyUtils::Console::DocoptRunner
        include ::EacRubyUtils::SimpleCache

        DOC = <<~DOCOPT
          Utilities for EacRedmineBase0 instances.

          Usage:
            __PROGRAM__ [options] <instance_id> __SUBCOMMANDS__
            __PROGRAM__ -h | --help

          Options:
            -h --help             Show this screen.
        DOCOPT

        private

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
avm-tools-0.61.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.60.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.59.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.58.1 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.58.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.57.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.56.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.55.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.54.2 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.54.1 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.54.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.53.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.52.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.51.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.50.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.49.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.48.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.47.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.46.0 lib/avm/tools/runner/eac_redmine_base0.rb
avm-tools-0.45.0 lib/avm/tools/runner/eac_redmine_base0.rb