class VCLog::CLI::Formats
Command to display a list of available formats.
Public Class Methods
terms()
click to toggle source
# File lib/vclog/cli/formats.rb, line 10 def self.terms ['formats', 'templates'] end
Public Instance Methods
execute()
click to toggle source
# File lib/vclog/cli/formats.rb, line 22 def execute puts " ansi gnu rdoc markdown xml html atom rss json yaml" end
parser()
click to toggle source
Calls superclass method
VCLog::CLI::Abstract#parser
# File lib/vclog/cli/formats.rb, line 15 def parser super do |opt| opt.banner = "Usage: vclog-formats" end end