Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行子命令会require所有module #2

Open
goto100 opened this issue Apr 12, 2013 · 0 comments
Open

执行子命令会require所有module #2

goto100 opened this issue Apr 12, 2013 · 0 comments

Comments

@goto100
Copy link
Member

goto100 commented Apr 12, 2013

opm 所用的 commander 是先注册,再通过路由执行子命令的。而opm所需的路由应该是文件路由,只有在展现help的时候才需要require所有module。

涉及到commander的修改,在此记录一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant