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

指定目录那里建议添加个示例 #2

Open
leihenshang opened this issue Sep 18, 2020 · 2 comments
Open

指定目录那里建议添加个示例 #2

leihenshang opened this issue Sep 18, 2020 · 2 comments

Comments

@leihenshang
Copy link

比如文件参数写的是--dir="models" [-D] 指定自动搜索模型的目录,相对于应用基础目录的路径,可指定多个,默认为app/model
建议加个例子:
比如你的的应用目录是app,而model在app中,那么指定目录为:php think ide-helper:model --dir="model",如果你的模型目录叫做bean,那么指定目录为:php think ide-helper:model --dir="bean"

@leihenshang
Copy link
Author

而且就算指定了目录,mode也会被更新。。。。

@yunwuxin
Copy link
Member

model这个目录都会被搜索 dir用于添加一些额外的目录

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

2 participants