lib/mercurd/cli.rb in mercurd-0.2.0 vs lib/mercurd/cli.rb in mercurd-0.3.0
- old
+ new
@@ -15,9 +15,14 @@
- When have to.
- For writting.
ZEN
end
+ desc "requirements", "Install Mercurd Deps"
+ def requirements
+ `brew install cloc`
+ end
+
desc "cloc [OPTIONS]", "The wrapper of github.com/AlDanial/cloc"
def cloc(src = nil)
cmd = `which cloc`
puts "cloc not found" and return if cmd.blank?
prefix = "Count Lines of Code"