bin/teamocil in teamocil-0.4.5 vs bin/teamocil in teamocil-1.0
- old
+ new
@@ -1,8 +1,7 @@
#!/usr/bin/env ruby
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w(.. lib))
-$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
-
-require 'yaml'
require 'teamocil'
-Teamocil::CLI.new(ARGV, ENV)
+runner = Teamocil::CLI.new(arguments: ARGV, environment: ENV)
+runner.run!