#!/usr/bin/env ruby lib_dir = File.join(File.dirname(__FILE__), '..', 'lib') $LOAD_PATH.unshift lib_dir if File.directory?(lib_dir) require 'tonic' if ARGV.empty? Tonic.activate else ARGV.first == 'push' Tonic.push_pages end