Rename collect_tasks to collect_command_line_tasks