Method: Toolshed::Commands::PushBranch#execute

Defined in:
lib/toolshed/commands/push_branch.rb

#execute(args, options = {}) ⇒ Object



24
25
26
27
28
29
# File 'lib/toolshed/commands/push_branch.rb', line 24

def execute(args, options = {})
  Toolshed.logger.info "Running toolshed push_branch with #{options.inspect}"
  branch = Toolshed::Git::Branch.new(options)
  branch.push
  Toolshed.die
end