Method: Appfront::Command::Domains.info

Defined in:
lib/appfront/command/domains.rb

.info(opts) ⇒ Object



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/appfront/command/domains.rb', line 22

def self.info(opts)
  find_domain! opts

  h = api.get "/domain/#{@deploy}"
  
  puts "=== Domain: #{h['name']}"
  puts
  puts "\t Deploy uuid: #{h['uuid']}"
  puts "\t Status: #{h['status']} "
  puts "\t Running deploys: #{h['deploys']}"
  puts 
  puts "=== Cluster: #{h['cluster_name']} ---> #{h['cluster']}"
  
  puts "\n"    

end