#!/usr/bin/env ruby
require 'dropsync'

unless ARGV.count == 2
	puts "Enter your access token and filename"
	raise "Wrong input arguments"
end

access_token, filename = ARGV[0], ARGV[1]

drop_sync = DropSync::Engine.new(access_token)
drop_sync.download(filename)