dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
26 stars 34 forks source link

Fix the precedence ordering #63

Closed matt-gadd closed 7 years ago

matt-gadd commented 7 years ago

Currently its possible to register multiple of the same command via global node_modules, the cli's node_modules, and the local projects node_modules. There is no distinguishing between what is registered when displayed either.

We should only support registering/displaying one command per namespace. And the precedence ordering should probably be: cli, global, local with local having the most precedence?