Class: Toolshed::Commands::PushBranch

Inherits:
Object
  • Object
show all
Defined in:
lib/toolshed/commands/push_branch.rb

Instance Method Summary collapse

Instance Method Details

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



4
5
6
7
8
# File 'lib/toolshed/commands/push_branch.rb', line 4

def execute(args, options = {})
  branch_name = Toolshed::Git::Base.push(options)
  puts "#{branch_name} has been pushed"
  return
end