method
collect_command_line_tasks
v2_2_9 -
Show latest stable
- Class:
Rake::Application
collect_command_line_tasks(args)public
Collect the list of tasks on the command line. If no tasks are given, return a list containing only the default task. Environmental assignments are processed at this time as well.
`args` is the list of arguments to peruse to get the list of tasks. It should be the command line that was given to rake, less any recognised command-line options, which OptionParser.parse will have taken care of already.