class VCLog::CLI::News

Public Class Methods

terms() click to toggle source
# File lib/vclog/cli/news.rb, line 9
def self.terms
  ['news']
end

Public Instance Methods

execute() click to toggle source
# File lib/vclog/cli/news.rb, line 23
def execute
  puts repo.history_file.news #(version)
end
parser() click to toggle source
Calls superclass method VCLog::CLI::Abstract#parser
# File lib/vclog/cli/news.rb, line 14
def parser
  super do |opt|
    opt.banner = "Usage: vclog-news"
    opt.separator(" ")
    opt.separator("Display first release note from history file.")
  end
end