Module: Vagabond::Actions::Status

Defined in:
lib/vagabond/actions/status.rb

Instance Method Summary collapse

Instance Method Details

#statusObject



4
5
6
7
8
9
10
11
12
13
# File 'lib/vagabond/actions/status.rb', line 4

def status
  ui.info ui.color("Vagabond node status:\n", :bold)
  if(name)
    status_for(name)
  else
    (Array(vagabondfile[:boxes].keys) | Array(internal_config[:mappings].keys)).sort.each do |n|
      status_for(n)
    end
  end
end