Sha256: 5b9aaf1d966387db1f512e626f8d4daf3cc0bccf08c2d0121b8d603d56913b66
Contents?: true
Size: 830 Bytes
Versions: 24
Compression:
Stored size: 830 Bytes
Contents
# frozen_string_literal: true require 'avm/tools/app_src' require 'eac_cli/core_ext' module Avm module Tools class Runner class AppSrc require_sub __FILE__ runner_with :help, :subcommands do desc 'Utilities for local projects.' arg_opt '-C', '--path', 'Path to local project instance.' subcommands end def instance_banner infov 'Instance', instance infov 'Stereotypes', instance.stereotypes.map(&:label).join(', ') end def subject instance.avm_instance end private def instance_uncached ::Avm::Tools::AppSrc.new(instance_path) end def instance_path_uncached (parsed.path || '.').to_pathname.expand_path end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems