lib/wod/command.rb in wod-0.0.1 vs lib/wod/command.rb in wod-0.0.2

- old
+ new

@@ -21,11 +21,13 @@ STDERR.puts "Authentication failure" run command, args, retries + 1 else error "Authentication failure" end + rescue Wod::NoTeamSelected + STDERR.puts "No team selected" + run command, args, retries + 1 end - end def self.run_internal(command, args, wod=nil) klass, method = parse command runner = klass.new args, wod \ No newline at end of file