- add runner

This commit is contained in:
Jordan Sissel 2011-04-07 19:08:26 -07:00
parent c48fe7991f
commit db46c2dd50

14
lib/logstash/runner.rb Normal file
View file

@ -0,0 +1,14 @@
command = ARGV.shift
case command
when "agent"
require "logstash/agent"
agent = LogStash::Agent.new
agent.argv = ARGV
agent.run
when "web"
puts "not supported yet"
when "test"
puts "not supported yet"
end