bin/tokenizer-server in opener-tokenizer-1.1.2 vs bin/tokenizer-server in opener-tokenizer-2.0.0

- old
+ new

@@ -1,8 +1,10 @@ #!/usr/bin/env ruby -require 'puma/cli' +require 'opener/webservice' -rack_config = File.expand_path('../../config.ru', __FILE__) +parser = Opener::Webservice::OptionParser.new( + 'opener-tokenizer', + File.expand_path('../../config.ru', __FILE__) +) -cli = Puma::CLI.new([rack_config] + ARGV) -cli.run +parser.run