free_mutant/bin/mutant

19 lines
308 B
Ruby
Executable file

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