blob: 207dd5d995cd89295aea6a5f88097e987e4575b4 (
plain) (
tree)
|
|
module Rails
module Command
class NewCommand < Base # :nodoc:
no_commands do
def help
Rails::Command.invoke :application, [ "--help" ]
end
end
def perform(*)
puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n"
puts "Type 'rails' for help."
exit 1
end
end
end
end
|