Sha256: f2a33d23d34dfdc3c585cd793f9a40147919642ade2584be378e1d2eb6317097
Contents?: true
Size: 805 Bytes
Versions: 5
Compression:
Stored size: 805 Bytes
Contents
# frozen_string_literal: true require 'avm/tools/core_ext' module Avm module Tools class Runner class AppSrc class Info runner_with :help do desc 'Show information about local project instance.' end def run show_instance show_source end private def show_instance infov 'Path', instance.path infov 'Stereotypes', instance.stereotypes.map(&:label).join(', ') end def show_source infov 'Stereotype', runner_context.call(:subject).class infov 'SCM', runner_context.call(:subject).scm end def instance runner_context.call(:instance) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems