class Onceover::CLI::Show::Puppetfile
Public Class Methods
command()
click to toggle source
# File lib/onceover/cli/show.rb, line 52 def self.command @command ||= Cri::Command.define do name 'puppetfile' usage 'puppetfile [options]' summary 'Shows the current state of the puppetfile' description <<-DESCRIPTION Shows the state of the puppetfile including current versions and latest versions of each module. Great for checking for updates. To update all modules run `onceover update puppetfile`. (Hint: once you have done the update, run the tests to make sure nothing breaks.) DESCRIPTION run do |opts, args, cmd| # Print out the description Onceover::Controlrepo.new(opts).print_puppetfile_table exit 0 end end end