class VCLog::CLI::Bump
Public Class Methods
terms()
click to toggle source
# File lib/vclog/cli/bump.rb, line 9 def self.terms ['bump'] end
Public Instance Methods
execute()
click to toggle source
# File lib/vclog/cli/bump.rb, line 23 def execute puts repo.bump #(version) end
parser()
click to toggle source
Calls superclass method
VCLog::CLI::Abstract#parser
# 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