Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (12 sloc) 231 Bytes
#!/usr/bin/env ruby
$:.unshift File.expand_path('.')
require 'mysql2'
require 'csv'
require 'lib/honeytree'
require 'optparse'
ht = Honeytree.new
if ARGV[0] == "csv/tree-details"
ht.add_details
else
ht.add_census ARGV[0]
end