<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,9 +2,30 @@
 
 class Metrics &lt; Thor
   desc &quot;flog &lt;dirs&gt;&quot;, &quot;flog the specified directories&quot;
-  
   def flog(*dirs)
+    xargs('flog', *dirs)
+  end
+  
+  desc &quot;reek &lt;dirs&gt;&quot;, &quot;run reek on the specified directories&quot;
+  def reek(*dirs)
+    xargs('reek', *dirs)
+  end
+  
+  desc &quot;flay &lt;dirs&gt;&quot;, &quot;run flay on the specified directories&quot;
+  def flay(*dirs)
+    xargs('flay', *dirs)
+  end
+  
+  desc &quot;roodi &lt;dirs&gt;&quot;, &quot;run flay on the specified directories&quot;
+  def roodi(*dirs)
+    xargs('roodi', *dirs)
+  end
+  
+  private
+  
+  def xargs(cmd, *dirs)
     dirs = ['.'] if dirs.empty?
-    system &quot;find #{dirs.join(' ')} -name \\*.rb | xargs flog&quot;
+    system &quot;find #{dirs.join(' ')} -name \\*.rb | xargs #{cmd}&quot;
   end
+  
 end</diff>
      <filename>metrics.thor</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>87963edb1de551b93695b917530795f12656340e</id>
    </parent>
  </parents>
  <author>
    <name>Clinton R. Nixon</name>
    <email>crnixon@gmail.com</email>
  </author>
  <url>http://github.com/crnixon/thor_tasks/commit/0eb960fd8abdb0032d9b44d5069f33d7091ef228</url>
  <id>0eb960fd8abdb0032d9b44d5069f33d7091ef228</id>
  <committed-date>2009-09-19T08:24:07-07:00</committed-date>
  <authored-date>2009-09-19T08:24:07-07:00</authored-date>
  <message>added a poopton of metrics</message>
  <tree>50d1826d303f4e99aff9154710d6bbd241c54bc4</tree>
  <committer>
    <name>Clinton R. Nixon</name>
    <email>crnixon@gmail.com</email>
  </committer>
</commit>
