Sha256: 4f5d7ba015443cfae48b7b09f66035b47aea4657b2e71fa58a6aab661299a96d
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 Bytes
Contents
# -*- ruby -*- # frozen_string_literal: true require 'mongrel2/config' require 'mongrel2/cli' unless defined?( Mongrel2::CLI ) # Mongrel2 log command module Mongrel2::CLI::LogCommand extend Mongrel2::CLI::Subcommand desc "Prints the commit log." command :log do |logcmd| logcmd.action do |globals, options, args| prompt.say( hl.header "Log Messages" ) Mongrel2::Config::Log.order_by( :happened_at ).each do |log| prompt.say( log.to_s ) end end end end # module Mongrel2::CLI::LogCommand
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongrel2-0.55.0 | lib/mongrel2/cli/log.rb |
mongrel2-0.54.0 | lib/mongrel2/cli/log.rb |