4 5 6 7 8 9 10
# File 'lib/toolshed/commands/list_branches.rb', line 4 def execute(args, options = {}) git = Toolshed::Git::Github.new branches = git.list_branches branches.each do |branch| puts branch['name'] end end