Class: Onceover::CLI::Show::Repo
- Inherits:
-
Object
- Object
- Onceover::CLI::Show::Repo
- Defined in:
- lib/onceover/cli/show.rb
Class Method Summary collapse
Class Method Details
.command ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/onceover/cli/show.rb', line 27 def self.command @cmd ||= Cri::Command.define do name 'repo' usage 'repo [options]' summary 'Shows the current state of the Controlrepo' description "Shows the state of the repo as the tool sees it.\nUseful for debugging.\n DESCRIPTION\n\n run do |opts, args, cmd|\n # Print out the description\n puts Onceover::Controlrepo.new(opts).to_s\n exit 0\n end\n end\nend\n" |