class Bundler::Thor::Runner

def thorfiles_relevant_to(meth)


namespaces registered.
will load all thor files in the thor.yaml that has "foo" e "foo:bar"
Load Bundler::Thorfiles relevant to the given method. If you provide "foo:bar" it
def thorfiles_relevant_to(meth)
  lookup = [meth, meth.split(":")[0...-1].join(":")]
  files = thor_yaml.select do |k, v|
    v[:namespaces] && !(v[:namespaces] & lookup).empty?
  end
  files.map { |k, v| File.join(thor_root, "#{v[:filename]}") }
end