#!/usr/bin/env ruby lib = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'rubygems' require 'flydata' require 'flydata/cli' args = ARGV.dup ARGV.clear # for 'gets' begin Flydata::Cli.new(args).run rescue Interrupt # Suppress stacktrace upon Ctrl-C quit puts end