Class: Papa::CLI::Hotfix
Instance Method Summary collapse
Methods inherited from Thor
Instance Method Details
#add ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/papa/cli/hotfix.rb', line 16 def add version = [:version] bugfix_branches = [:bugfix_branches] || [] require 'papa/task/hotfix/add' Task::Hotfix::Add.new(version, bugfix_branches).run end |
#deploy ⇒ Object
26 27 28 29 30 |
# File 'lib/papa/cli/hotfix.rb', line 26 def deploy version = [:version] require 'papa/task/hotfix/deploy' Task::Hotfix::Deploy.new(version).run end |