bin/ppl in ppl-0.0.5 vs bin/ppl in ppl-0.2.0
- old
+ new
@@ -3,14 +3,15 @@
require "pathname"
bin_file = Pathname.new(__FILE__).realpath
$:.unshift File.expand_path("../../lib", bin_file)
-require "ppl/cli"
+require "ppl"
-class String
- alias_method :each, :each_line
-end
+bootstrap = Ppl::Application::Bootstrap.new
+input = bootstrap.input
+output = bootstrap.output
+shell = bootstrap.shell
-cli = Ppl::CLI.new
-cli.run ARGV
+exit(shell.run(input, output))
+