4 5 6 7 8 9 10
# File 'lib/enom/commands/list_domains.rb', line 4 def execute(args, options = {}) domains = Domain.all puts "Found #{domains.length} domains:" domains.each do |domain| puts "\s\s#{domain.name}" end end