# File lib/god/cli/command.rb, line 112
      def signal_command
        # get the name of the watch/group
        name = @args[1]
        signal = @args[2]
        
        puts "Sending signal '#{signal}' to '#{name}'"
        
        t = Thread.new { loop { sleep(1); STDOUT.print('.'); STDOUT.flush; sleep(1) } }
        
        watches = @server.signal(name, signal)
        
        # output response
        t.kill; STDOUT.puts
        unless watches.empty?
          puts 'The following watches were affected:'
          watches.each do |w|
            puts '  ' + w
          end
        else
          puts 'No matching task or group'
        end
      end