Method: MGit::StatusCommand#execute

Defined in:
lib/mgit/commands/status.rb

#execute(args) ⇒ Object



5
6
7
8
9
# File 'lib/mgit/commands/status.rb', line 5

def execute(args)
  t = []
  Registry.chdir_each { |repo| t << [repo.name, repo.current_branch, flags(repo).to_a.join(', ')] }
  ptable t, :columns => [24, nil, nil]
end