class Rake::Application

def run

level tasks.
application. The define any tasks. Finally, call +top_level+ to run your top
If you wish to build a custom rake command, you should call +init+ on your

* Run the top level tasks (+run_tasks+).
* Define the tasks (+load_rakefile+).
* Initialize the command line options (+init+).

Run the Rake application. The run method performs the following three steps:
def run
  standard_exception_handling do
    init
    load_rakefile
    top_level
  end
end