free_mutant/bin/mutant

20 lines
308 B
Text
Raw Normal View History

#!/usr/bin/env ruby
2013-07-29 20:17:04 -04:00
# encoding: utf-8
trap('INT') do |status|
exit! 128 + status
end
require 'mutant'
namespace =
if ARGV.include?('--zombie')
$stderr.puts('Running mutant zombified!')
2013-06-28 17:24:46 -04:00
Mutant::Zombifier.zombify
Zombie::Mutant
else
Mutant
end
Kernel.exit(namespace::CLI.run(ARGV))