Class: VCLog::CLI::Bump
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/bump.rb', line 9
def self.terms
['bump']
end
|
Instance Method Details
#execute ⇒ Object
23
24
25
|
# File 'lib/vclog/cli/bump.rb', line 23
def execute
puts repo.bump end
|
#parser ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/vclog/cli/bump.rb', line 14
def parser
super do |opt|
opt.banner = "Usage: vclog-bump"
opt.separator(" ")
opt.separator("Display a bumped version number.")
end
end
|