#!/usr/bin/env ruby # Exit cleanly from an early interrupt Signal.trap("INT") { exit 1 } # Stdout/stderr should not buffer output $stdout.sync = true $stderr.sync = true require 'kameleon' require 'kameleon/cli' # Force Thor to raise exceptions so we can exit non-zero. ENV["THOR_DEBUG"] = "1" Kameleon.with_friendly_errors { Kameleon::CLI.start }