#!/usr/bin/env ruby
require 'bundler'
Bundler.setup
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'onapp/engine/command'
require 'pathname'
Daemon.root_path = Pathname.new(File.expand_path('../..', __FILE__))
result = Daemon::Command.new(ARGV.dup).run
exit(result)
