class Onceover::CLI::Show::Repo
Public Class Methods
command()
click to toggle source
# File lib/onceover/cli/show.rb, line 27 def self.command @command ||= Cri::Command.define do name 'repo' usage 'repo [options]' summary 'Shows the current state of the Controlrepo' description <<-DESCRIPTION Shows the state of the repo as the tool sees it. Useful for debugging. DESCRIPTION run do |opts, args, cmd| repo = Onceover::Controlrepo.new(opts) config = Onceover::TestConfig.new(repo.onceover_yaml, opts) # Print out the description puts "--- Controlrepo Information ---" puts repo.to_s puts "\n--- Test Configuration ---" puts config.to_s exit 0 end end end