2012-09-10 19:00:18 -04:00
|
|
|
#!/usr/bin/env ruby
|
2013-07-29 20:17:04 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
2013-06-21 17:54:32 -04:00
|
|
|
trap('INT') do |status|
|
2013-07-27 06:25:22 -04:00
|
|
|
exit! 128 + status
|
2013-06-21 17:54:32 -04:00
|
|
|
end
|
|
|
|
|
2012-09-10 19:00:18 -04:00
|
|
|
require 'mutant'
|
|
|
|
|
|
|
|
namespace =
|
2013-07-27 06:25:22 -04:00
|
|
|
if ARGV.include?('--zombie')
|
|
|
|
$stderr.puts('Running mutant zombified!')
|
2014-04-04 10:14:24 -04:00
|
|
|
Mutant.zombify
|
2013-06-28 17:24:46 -04:00
|
|
|
Zombie::Mutant
|
2012-09-10 19:00:18 -04:00
|
|
|
else
|
|
|
|
Mutant
|
|
|
|
end
|
|
|
|
|
2012-11-24 11:36:47 -05:00
|
|
|
Kernel.exit(namespace::CLI.run(ARGV))
|