class Onceover::CLI::Show

Public Class Methods

command() click to toggle source
# File lib/onceover/cli/show.rb, line 9
      def self.command
        @command ||= Cri::Command.define do
          name 'show'
          usage 'show [controlrepo|puppetfile]'
          summary 'Shows the current state of things'
          description <<-DESCRIPTION
Shows the state of either the controlrepo or the Puppetfile
          DESCRIPTION

          run do |opts, args, cmd|
            # Print out the description
            puts cmd.help(:verbose => opts[:verbose])
            exit 0
          end
        end
      end