bin/tumble in rocktumbler-0.1.3 vs bin/tumble in rocktumbler-0.2.0
- old
+ new
@@ -2,6 +2,14 @@
# Exit cleanly from an early interrupt
Signal.trap('INT') { exit 1 }
require 'rocktumbler'
-Rocktumbler::Tumbler.new.tumble
+require 'benchmark'
+
+cli = Rocktumbler::CLI.new
+
+time = Benchmark.realtime do
+ cli.run
+end
+
+puts "Rocktumbler finished in #{time} seconds" if cli.opts.verbose