1 2 3 4 5 6 7
#!/usr/bin/env ruby if %w[g generate].include? ARGV.first exec "#{__dir__}/rails-engine", *ARGV else exec "#{__dir__}/rails-sandbox", *ARGV end