Class: VCLog::CLI::News
Instance Attribute Summary
Attributes inherited from Abstract
#arguments
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Abstract
inherited, #initialize, #options, #repo, run, #run
Class Method Details
.terms ⇒ Object
9
10
11
|
# File 'lib/vclog/cli/news.rb', line 9
def self.terms
['news']
end
|
Instance Method Details
#execute ⇒ Object
23
24
25
|
# File 'lib/vclog/cli/news.rb', line 23
def execute
puts repo.history_file.news end
|
#parser ⇒ Object
14
15
16
17
18
19
20
|
# 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
|