Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

invoke doesn't handle multiple classes using the same namespace #246

Open
japgolly opened this Issue · 0 comments

1 participant

@japgolly

Simplified example. This doesn't work but should.

class A < Thor
   namespace :stuff
  desc 'a'; def a; end
end

class B < Thor
   namespace :stuff
  desc 'b'; def b; end
end

class C < Thor
  desc 'abc'; def abc
    invoke 'stuff:a'
    invoke 'stuff:b'       # Says b() not defined
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.