#!/usr/bin/env ruby require 'rubygems' # This is to make sure Faraday doesn't warn the user about the `system_timer` gem missing. old_warn, $-w = $-w, nil begin require 'faraday' ensure $-w = old_warn end require 'todos_export' Signal.trap(:INT, "EXIT") target = ARGV[0] || './' export = TodosExport::Main.new(target) export.execute