Sha256: c64a2f842e7f8349ca2598b4746d9c10f6b53dec44ad85f9bae7fc3acf44bee3
Contents?: true
Size: 1.07 KB
Versions: 36
Compression:
Stored size: 1.07 KB
Contents
module PowerStencil module CommandProcessors class Info include Climatic::Script::UnimplementedProcessor include Climatic::Proxy include PowerStencil::Project::Proxy def execute puts '-' * 80 puts 'PROJECT REPORT' puts '-' * 80 puts ' General information:' puts(project.general_report.map { |p| ' - %s' % [p] }) puts '-' * 80 puts ' Paths:' puts(project.paths_report.map { |p| ' - %s' % [p] }) unless project.plugins.empty? puts '-' * 80 puts ' Plugins:' project.plugins.each do |plugin_name, plugin| puts " --> Plugin '#{plugin_name}' has following capabilities:" puts(project.plugin_report(plugin_name, plugin).map { |p| ' - %s' % [p] }) end end puts '-' * 80 puts ' Entities:' puts(project.entities_report.map { |p| ' - %s' % [p] }) puts '-' * 80 puts ' Available entity types:' puts(project.entity_types_report.map { |p| ' - %s' % [p] }) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems