mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 17:50:13 +01:00
7 lines
210 B
Ruby
7 lines
210 B
Ruby
|
|
require "#{RAILS_ROOT}/config/environment"
|
||
|
|
require 'rails_generator'
|
||
|
|
require 'rails_generator/scripts/destroy'
|
||
|
|
|
||
|
|
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
||
|
|
Rails::Generator::Scripts::Destroy.new.run(ARGV)
|