def all_actions(type=nil)
      all_actions = actions(type)
      all_actions += invocations.map { |i| i.all_actions(type) }
      all_actions.flatten
    end
def all_actions(type=nil)
      all_actions = actions(type)
      all_actions += invocations.map { |i| i.all_actions(type) }
      all_actions.flatten
    end
Finds and returns all templates and files for this generators and any of those generators it invokes,
 whose options match that generator's options.

 === Returns
 [Templater::Actions::File, Templater::Actions::Template]:: The found templates and files.